Skip to content

Instantly share code, notes, and snippets.

@notionquest
Last active December 20, 2023 03:15
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notionquest/55c6a27323253c17ec9a7247f62088f5 to your computer and use it in GitHub Desktop.
Save notionquest/55c6a27323253c17ec9a7247f62088f5 to your computer and use it in GitHub Desktop.
Git create branch error src refspec matches more than one
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
@harmlessprince
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment