Created
January 21, 2019 20:16
-
-
Save pchmielowski/d6be397f58103e82ea6f0d5177f92f08 to your computer and use it in GitHub Desktop.
Try delete all branches
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 for-each-ref | cut -f2 -d' ' | cut -f2 | grep --color=never heads | cut -f3 -d'/' | while read br; do git branch -d $br; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment