Created
March 26, 2010 15:47
-
-
Save rlivsey/345031 to your computer and use it in GitHub Desktop.
Script to prune any tags which exist locally but not on the remote
Won't that delete every local tag?
@julias-shaw yes it will
Isn't this the idea of pruning is to remove local tags that no longer exist on the remote?
This will make it so you're up to date with the remote 1:1.
If you want to keep your local clean though this is not for you.
there was an update making this obsolete ;)
git fetch --prune --prune-tags
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just do: