git-cheat-sheet

branches

delete branches that match pattern

git branch -D `git branch | grep <PATTERN>`