git 批量删除本地分支

git branch | grep 'bug' |xargs git branch -D

原文地址:https://www.cnblogs.com/liufei1983/p/9675060.html