Heim > Fragen und Antworten > Hauptteil
在使用git pull时发生错误
请问有遇到过类似的问题吗? 之前可以pull, 别人更新代码之后就不可以了,帮别人问的,自己也学习一下
PHP中文网2017-05-02 09:29:04
你的分支名 为什么以origin/feature/
开头? refspec从来没有这样的格式
git pull [options] [<repository> [<refspec>...]]
<repository> should be the name of a remote repository as passed to git-fetch(1). <refspec> can name an arbitrary remote ref (for example, the name of a tag) or even a
collection of refs with corresponding remote-tracking branches (e.g., refs/heads/:refs/remotes/origin/), but usually it is the name of a branch in the remote repository.
直接 git pull origin 360xxx
过去多啦不再A梦2017-05-02 09:29:04
你只能将一个分支拉下来,可以使用git pull origin feature:develop来将远程的feature分支和本地的develop分支进行合并.因为看你当前是处于develop分支的.