Skip to content

Instantly share code, notes, and snippets.

@ganobrega
Forked from lucis/remove-git-tags.sh
Created September 9, 2021 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ganobrega/fab567247ab9fdedba7bc1fef221f603 to your computer and use it in GitHub Desktop.
Save ganobrega/fab567247ab9fdedba7bc1fef221f603 to your computer and use it in GitHub Desktop.
Removing ALL git tags for a Repo
git tag -l | xargs git tag -d && git fetch && git tag -l | xargs -n 1 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