Skip to content

Instantly share code, notes, and snippets.

@nuc
Forked from technogoat/gist:1528381
Created February 15, 2012 09:33
Show Gist options
  • Save nuc/1834765 to your computer and use it in GitHub Desktop.
Save nuc/1834765 to your computer and use it in GitHub Desktop.
Git: Delete a batch of remote tags
$ git ls-remote --tags origin | awk '/^(.*)(\s+)(.*[a-z0-9])$/ {print ":" }' | xargs git push origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment