# remove tags on origin
git ls-remote --tags | awk '/tags\/release.*[^\}]$/ {print ":" $2}' | xargs git push origin
# remove locally
git tag -l | awk '/^release.*$/ {print $1}' | xargs git tag -d
Tuesday, July 2, 2013
Delete tags
To delete tags in git that match some regex, both locally and remotely, I use these two commands
Labels:
git
Subscribe to:
Comments (Atom)