git pull error
習慣沉默
習慣沉默 2017-05-02 09:27:04
0
8
575

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

習慣沉默
習慣沉默

reply all(8)
洪涛

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

阿神

Did you write the wrong branch? . .

为情所困

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

我想大声告诉你

Your branch name is wrong.

The default is origin master

阿神

git pull origin 360liuxueDisPage

漂亮男人

git pull origin master

过去多啦不再A梦

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.

淡淡烟草味

This is a problem with the branch name!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template