how to delete last merged branches git code example
Example: git delete merged branches
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d