git batch delete tags

Delete remote tags starting with test:

git tag|grep "test"|xargs git push origin --delete tag 
#注意 命令最后有个空格

Delete local tags starting with test:

git tag|grep "test"|xargs git tag -d 
#注意 命令最后有个空格

Delete the remote first, then delete the local;

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324145483&siteId=291194637