Skip to content

Instantly share code, notes, and snippets.

@eliasby
Last active March 20, 2020 10:57
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasby/78de97577bb931a6f403fd35048051a4 to your computer and use it in GitHub Desktop.
Save eliasby/78de97577bb931a6f403fd35048051a4 to your computer and use it in GitHub Desktop.
override git tag
# Delete the tag on any remote before you push
git push origin :refs/tags/<tagname>
# Replace the tag to reference the most recent commit
git tag -fa <tagname>
# Push the tag to the remote origin
git push origin master --tags
# source: http://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment