如果是windows下则需要打开gitbash来执行删除远程标签gitshow-ref--tagawk'/refs\/tags\/v1\.0\..*$/{print":"$2}'xargsgitpushorigin删除本地标签gittag-lawk'/v1\.0\..*$/{print$1}'xargsgittag-d清理本地和远程version=1\.0\..*$gitshow-ref--tagawk'/refs\/tags\/'"$version"'/{print":"$2}'xargsgitpushorigingittag-lawk'/'"$version"'/{print$1}'xar