git pull出现There is no tracking i

2018-02-06  本文已影响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

上一篇下一篇

猜你喜欢

热点阅读