-
-
Save daleki/25e8862a96a257a2da1cedc56d26ba21 to your computer and use it in GitHub Desktop.
Retagging on git
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
1. list all remote tags | |
git ls-remote --tags | |
2. delete local tag | |
git tag -d V_1_0_1 | |
3. push tag deletion to remote | |
git push origin :refs/tags/V_1_0_1 | |
4. tag local branch again | |
git tag V_1_0_1 | |
5. push tag to remote | |
git push origin tag V_1_0_1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment