- 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 --tags
ref:
https://stackoverflow.com/questions/8044583/how-can-i-move-a-tag-on-a-git-branch-to-a-different-commit
No comments:
Post a Comment