可以先删除所有本地tag,然后再拉取远程上的tag
git tag -l | xargs git tag -d git fetch --tags
其他方法以及查询tag的命令请见:Remove local tags that are no longer on the remote repository
git删除远程主机没有的tag
原文:http://www.cnblogs.com/drizzlewithwind/p/7262102.html