An error occurred while using git pull
Have you ever encountered similar problems? It was possible to pull before, but after others updated the code, it was no longer possible. I asked for help from others, and I also learned from it myself
PHP中文网2017-05-02 09:29:04
Why does your branch name start with origin/feature/
? refspec never has such a format
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.
Direct git pull origin 360xxx
为情所困2017-05-02 09:29:04
The prompt says that the reference to the remote branch cannot be found. The branch name may be wrong or the reference may have been deleted. You can use the git branch -a
command to check to see if there is a corresponding branch
过去多啦不再A梦2017-05-02 09:29:04
You can only pull down one branch. You can use git pull origin feature:develop to merge the remote feature branch and the local develop branch. Because you are currently on the develop branch.