美文网首页
git pull出现There is no tracking i

git pull出现There is no tracking i

作者: 科科分享 | 来源:发表于2018-02-06 16:16 被阅读0次

解决在通过git客户端 git pull的时候出现Threre is no tracking information for the current branch . Please specify which branch you want to merge with。

就是需要指定本地projet分支,跟远程仓库项目分支之间的关系,比如,我们需要本地master对应远程的master

git branch --set-upstream-to=origin/master master

转自:http://blog.csdn.net/xiaojiesu/article/details/49685929

相关文章

网友评论

      本文标题:git pull出现There is no tracking i

      本文链接:https://www.haomeiwen.com/subject/dhigzxtx.html