-
-
Save joglomedia/380b4ae3d866054fc615c2a2d888c3df to your computer and use it in GitHub Desktop.
Git Rename Tag Local and Remote
This file contains 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
# Create new from old | |
git tag new old | |
# Remove old tag | |
git tag -d old | |
# Sync changes from old tag to remote | |
git push origin :refs/tags/old | |
# Send new tag to remote | |
git push --tags | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment