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
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.
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
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.
Why does your branch name start with
origin/feature/
? refspec never has such a formatDirect
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 branchYour branch name is wrong.
The default is origin master
git pull origin 360liuxueDisPage
git pull origin master
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!