Delete branches that are listed in `git branch --merged` excluding master.
Delete merged branches
Deletes all branches merged in to current HEAD. Does not delete master, even if run from a branch that is a descendant of master.
$ git delete-merged-branches
Written by Jesús Espino <firstname.lastname@example.org>