Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chamecall/4aa3510aa35a9989df71ec86eab434dc to your computer and use it in GitHub Desktop.
Save chamecall/4aa3510aa35a9989df71ec86eab434dc to your computer and use it in GitHub Desktop.
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d <tagname>
# delete remote tag '12345' (eg, GitHub version too)
git push origin :<tagname>
# create local tag
git tag <tagname>
# push tag to remote
git push origin <tagname>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment