CLI tool to clean up old git tags
npm install -g @tkissing/git-tag-soup-slurper
slurp-rc-tags
slurp-rc-tags --localonly or slurp-rc-tags -l
slurp-rc-tags --excluderemote origin or slurp-rc-tags -r origin
Note: The excluderemote option can be specified multiple times if you want to exclude more than one remote
slurp-rc-tags --upto 2.0.0 will delete any pre-release tags <= 2.0.0
slurp-rc-tags --excludetag v1.0.0-RC5 --excludetag v2.0.0-BETA or slurp-rc-tags -t v1.0.0-RC5 -t v2.0.0-BETA
Note: The excluded tag name must match exactly. This is a string comparison, not a SemVer match!
slurp-rc-tags -d will print out the git commands instead of executing them