Is there a way to keep my local git tags in lockstep with a remote's tags? That is -- not only get new tags when created (as usual, when fetch
-ing/pull
-ing), but also prune tags no longer on a remote and also delete existing tags when someone else git push -f
's a tag.
I know I can git fetch remotename
followed by git remote prune remotename
to achieve similar behaviour for branches.