Skip to content

Instantly share code, notes, and snippets.

@fgrehm
Created December 10, 2012 21:23
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 fgrehm/4253540 to your computer and use it in GitHub Desktop.
Save fgrehm/4253540 to your computer and use it in GitHub Desktop.
Delete multiple git tags
for tag in $(git tag | grep -E 'v0\.([0-5])'); do git tag -d $tag && git push origin :refs/tags/$tag; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment