Skip to content

Instantly share code, notes, and snippets.

@embano1
Created April 15, 2021 15:51
Show Gist options
  • Select an option

  • Save embano1/8cbcfcf988a174c431ae6b9c86cebfe8 to your computer and use it in GitHub Desktop.

Select an option

Save embano1/8cbcfcf988a174c431ae6b9c86cebfe8 to your computer and use it in GitHub Desktop.
Delete git tags locally/remote
# delete all tags on remote
git tag -l | xargs -I {} git push origin :refs/tags/{}

# delete all tags locally
git tag -l | xargs git tag -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment