Skip to content

Instantly share code, notes, and snippets.

@marcbachmann
Last active March 4, 2016 17:22
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 marcbachmann/9ee0c00454ecf4ad8731 to your computer and use it in GitHub Desktop.
Save marcbachmann/9ee0c00454ecf4ad8731 to your computer and use it in GitHub Desktop.
Delete all semver remote tags
T=$(git tag -l | grep -v '^[0-9\.]*$') \
&& git tag -d $(echo $T) \
&& for i in $(echo $T); do git push origin :refs/tags/$i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment