Created
January 27, 2017 23:38
-
-
Save neduma/e25aa5cc62fa1af0689f353b8ed13c22 to your computer and use it in GitHub Desktop.
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
function git-remove-tag { | |
if [[ -z $2 ]]; then remote="origin"; else remote=$2; fi | |
git tag -d $1; git push $remote :refs/tags/$1 | |
} | |
## | |
for v in `git tag | grep "\d.\d.\d.\d"`; do git-remove-tag $v bucket; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment