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
漂亮男人2017-05-02 09:54:19
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 tag -l | xargs git tag -d
git fetch -t -p -f