Created
February 28, 2020 15:53
-
-
Save tarnagas/43b67abfed2bb6609e24669860e67886 to your computer and use it in GitHub Desktop.
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 --merged master | grep -Ev "^\s+(release/.*|master)$" | while read line; do git branch -d "$line" && git push origin --delete "$line"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment