git pull时报错There is no tracking information for the current branch

报错如下:

There is no tracking information for the current branch.
Please specify which branch you want to merge with.

解决方法:

git branch –set-upstream-to=origin/develop develop

git branch –set–upstream develop origin/develop
(develop为新建分支name)

你可能感兴趣的:(git,git-pull,no-trackin,更新,原创)