Move a git tag

Gespeichert von Erik Wegner am/um
Body

If you have to move a git tag, these are the steps:

  1. Delete the tag on any remote before you push
    git push origin :refs/tags/<tagname>

  2. Replace the tag to reference the most recent commit
    git tag -fa <tagname>

  3. Push the tag to the remote origin
    git push origin --tags

Found at: https://stackoverflow.com/a/8044605

Kategorien

Git

The famous decentralized version control.

Version control

Every developer needs a time travel machine.