Skip to content

Instantly share code, notes, and snippets.

@matteobaccan
Last active October 14, 2021 01:51
Show Gist options
  • Save matteobaccan/f34e65bdbe3762c0fa672359fab6178e to your computer and use it in GitHub Desktop.
Save matteobaccan/f34e65bdbe3762c0fa672359fab6178e to your computer and use it in GitHub Desktop.
Delete a remote git tag
I have created a tag "master", so I have this error during push
"dst refspec master matches more than one"
to remove wrong remote tag name I have used
git push origin <tag name>
for example
git push origin :refs/tags/master
git push origin :refs/tags/refs/heads/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment