Last active
July 28, 2021 15:18
-
-
Save monkpit/fd4902e4141f9a102bb51cf50202d5fd to your computer and use it in GitHub Desktop.
Git - Add message to existing tag and update remote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make sure the tag is updated from remote on local | |
git fetch | |
# retag with a message | |
git tag <tag name> <tag name>^{} -f -m "<new message>" | |
# might need to add -f to force-push | |
git push <tag name> <remote> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment