SyntaxFix
Write A Post
Hire A Developer
Questions
I use a git-flow esque naming scheme, so this works very safely for me:
git branch --merged | grep -e "^\s\+\(fix\|feature\)/" | xargs git branch -d
It basically looks for merged commits that start with either string fix/ or feature/.
fix/
feature/