本地
git tag | grep "v" |xargs git tag -d
其中grep "v"应该是你自己想要的匹配
例如:git tag -l |grep 201905|xargs git tag -d
删除201905开头的tag
远程
git show-ref --tag | grep "v1.0"| awk '{print $2}'|xargs git push origin --delete
其中,grep "v1.0"应该是你想要的匹配
git tag | grep "v" |xargs git tag -d
其中grep "v"应该是你自己想要的匹配
例如:git tag -l |grep 201905|xargs git tag -d
删除201905开头的tag
git show-ref --tag | grep "v1.0"| awk '{print $2}'|xargs git push origin --delete
其中,grep "v1.0"应该是你想要的匹配