Skip to content

Instantly share code, notes, and snippets.

@elviswolcott
Created January 26, 2020 01:40
Show Gist options
  • Save elviswolcott/0100d3f6a29e0cc1812ab4839116d1ce to your computer and use it in GitHub Desktop.
Save elviswolcott/0100d3f6a29e0cc1812ab4839116d1ce to your computer and use it in GitHub Desktop.
Remove all local and remote tags from a repository
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