Last active
December 20, 2023 03:15
-
-
Save notionquest/55c6a27323253c17ec9a7247f62088f5 to your computer and use it in GitHub Desktop.
Git create branch error src refspec matches more than one
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you get the below error when you try to create branch, you can use the below command to resolve it. | |
Error: | |
error: src refspec 9.0.1 matches more than one. | |
Solution: | |
git push origin refs/heads/branchName:refs/heads/branchName |
Doesn't help with this case:
git push origin refs/heads/master:refs/heads/master
error: src refspec refs/heads/master matches more than one
Thanks!
Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
greate!