Last Updated: February 25, 2016
·
232
· yoboubdir

Delete multiple branches at once

Delete multiple branches who matches a regex in one command

git branch | cut -c3- | egrep "^(fix|fixbug|bugfix)/.+" | xargs git branch -D