赞
踩
很久没有在本地打开过的项目,执行git pull
的时候报没有跟踪远程分支的错误如下:
> git pull
There is no tracking information for the current branch.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> release/0826
根据提示信息,手动跟踪一下:
git branch --set-upstream-to=origin/release/0826 release/0826
再次拉取:
> git pull
Already up to date.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。