This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git branch -r --merged | | |
grep REMOTE_NAME | | |
grep -v master | | |
xargs git branch -r -D | |
Besser: | |
git branch -r --merged | grep -v bleed | grep -v master | grep -v next | xargs git branch -r -d |