远程

1
git tag -l | xargs -n 1 git push --delete origin

本地

1
qi

远程分支:

1
git branch -a | grep "keyi" | sed 's/remotes\/origin\///g' | xargs git push origin --delete

本地分支

1
git branch |grep 'branchName' |xargs git branch -D