Skip to content

Instantly share code, notes, and snippets.

@geraldyeo
Created October 21, 2021 04:04
Show Gist options
  • Save geraldyeo/7e9548de885c8840db382d4bc1c20d23 to your computer and use it in GitHub Desktop.
Save geraldyeo/7e9548de885c8840db382d4bc1c20d23 to your computer and use it in GitHub Desktop.
git prune tags
# in ~/.gitconfig
[alias]
... ... ... # your existing aliases
pt = !git tag -l | xargs git tag -d && git fetch -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment