Skip to content

Instantly share code, notes, and snippets.

@robinnorth
Forked from technogoat/gist:1528381
Last active December 16, 2015 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinnorth/5384334 to your computer and use it in GitHub Desktop.
Save robinnorth/5384334 to your computer and use it in GitHub Desktop.
Git: Bulk delete remote tags
$ git ls-remote --tags origin | awk '/^(.*)(\s+)(.*[a-z])$/ {print ":" $2}' | xargs git push origin
@robinnorth
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment