© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Chaim Lev-Ari
JS
this should also work:
git config --global alias.cleanup "!git branch --merged | grep -v '\\*\\|master\\|development|develop' | xargs -n 1 git branch -d"
I also added develop branch because that what we mostly call it instead of development