Created
January 26, 2016 21:36
-
-
Save willread/bfb12a3259ad713f2c39 to your computer and use it in GitHub Desktop.
Remove or recreate git tags
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
[alias] | |
detag = "!f() { param=${1}; git tag -d $param; git push origin :refs/tags/$param; }; f" | |
retag = "!f() { param=${1}; git detag $param; git tag -a $param -m 'Tagging release'; git push --tags; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment