[code]
git branch –merged <BRANCH> | grep -v "<BRANCH>" | xargs -n 1 git branch -D
git branch –merged | grep -v "master" | xargs -n 1 git branch -d
[/code]
don’t forget about sudo
[code]
git branch –merged <BRANCH> | grep -v "<BRANCH>" | xargs -n 1 git branch -D
git branch –merged | grep -v "master" | xargs -n 1 git branch -d
[/code]
don’t forget about sudo