Created
January 26, 2020 01:40
-
-
Save elviswolcott/0100d3f6a29e0cc1812ab4839116d1ce to your computer and use it in GitHub Desktop.
Remove all local and remote tags from a repository
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 tag | xargs -I % bash -c 'git tag -d % ; git push origin :refs/tags/%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment