删除本地tag:("DEV*"是匹配内容)
git tag | grep "DEV*" |xargs git tag -d
删除远程tag("DEV*"是匹配内容)
git show-ref --tag | grep "DEV*"| awk '{print $2}'|xargs git push origin --delete
git tag | grep "DEV*" |xargs git tag -d
git show-ref --tag | grep "DEV*"| awk '{print $2}'|xargs git push origin --delete
本文标题:GIT删除tag
本文链接:https://www.haomeiwen.com/subject/iwcgpctx.html
网友评论