Git-推送项目时错误跟踪远程

时间:2018-11-25 18:01:51

标签: git github gitlab

我将远程服务器添加到现有项目中,

git remote add origin git@framagit.org:masoud92m/new-project.git

当我使用git push -u origin master上传项目时,却出现此错误:

Branch 'master' set up to track remote branch 'master' from 'origin'.

为什么会这样?我该如何解决?

1 个答案:

答案 0 :(得分:1)

显示的文字:

  

分支“主”已设置为从“来源”跟踪远程分支“主”。

没有错误消息。但是,如果您仅使用git push而不使用-u origin master,则文本将消失。

enter image description here

相关问题