Skip to content

Instantly share code, notes, and snippets.

@equinusocio
Created January 8, 2018 16:55
Show Gist options
  • Save equinusocio/12200f7b516f43ea7e2e2b1010eacadb to your computer and use it in GitHub Desktop.
Save equinusocio/12200f7b516f43ea7e2e2b1010eacadb to your computer and use it in GitHub Desktop.
Remove all local and remote tags from git
# To delete remote tags (before deleting local tags)
git tag -l | xargs -n 1 git push --delete origin
# Delete the local copies
git tag | xargs git tag -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment