赞
踩
git pull
出现如下错误:
There is no tracking information for the current branch.
当前分支没有跟踪信息。
Please specify which branch you want to merge with.
请指定要与哪个分支合并。
See git-pull(1) for details.
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> master
git branch --set-upstream-to=origin/<branch> master
出现如下错误
zsh: no such file or directory: branch
原因是 《branch》要换成分支名,如:
git branch --set-upstream-to=origin/master master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。