When a tag is created remotely and then pulled to the local, and the tag is deleted remotely, the local tag still exists. How to force an update using a command
git fetchTry it
git fetch
git fetch -t -p -f
If the remote deletes the tag, the local git push -t will still be pushed up, so it is best to delete the local tag before fetch:
git push -t
git tag -l | xargs git tag -d git fetch -t -p -f
git fetch
Try itIf the remote deletes the tag, the local
git push -t
will still be pushed up, so it is best to delete the local tag before fetch: