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
// Delete all except multiple | |
git branch | grep -v "master\|dev" | xargs git branch -D | |
// Delete all except 1 | |
git branch | grep -v "master" | xargs git branch -D |