Created
January 30, 2015 16:43
-
-
Save brunogama/479f49f37667c5e1c52d to your computer and use it in GitHub Desktop.
Bulk delete remote 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
git ls-remote --tags origin | awk '/^(.*)(\s+)(.*[a-z])$/ {print ":" $2}' | xargs git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source: http://blog.siyelo.com/how-to-bulk-delete-remote-git-tags/