[git] Remove local git tags that are no longer on the remote repository

I add the command to SourceTree as a Custom Action on my MacOS.


Setting Custom Actions by Sourcetree -> Preferences... -> Custom Actions


Script to run have to be the git path.

I use git fetch --prune --prune-tags origin to sync tags from remote to local.

enter image description here enter image description here