Skip to content

Instantly share code, notes, and snippets.

@fabiomaggio
Last active January 4, 2021 10:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiomaggio/980812011def71b252027b2eb5735a22 to your computer and use it in GitHub Desktop.
Save fabiomaggio/980812011def71b252027b2eb5735a22 to your computer and use it in GitHub Desktop.
Delete all the remote tags of a Git repo
git tag -l | xargs git tag -d && git fetch && git tag -l | xargs git push --delete origin && 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