git branch --merged | egrep -v "(^*|master|dev)" | xargs git branch -d
https://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged
git branch --merged | egrep -v "(^*|master|dev)" | xargs git branch -d
https://stackoverflow.com/questions/6127328/how-can-i-delete-all-git-branches-which-have-been-merged