excluir galhos mesclados no git
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
Bloody Buzzard
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d