Last active
August 10, 2016 19:18
-
-
Save thebadmonkeydev/15ae46b8cb86e9a21af48671a8b2114d to your computer and use it in GitHub Desktop.
Delete all local merged branches except master
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 | grep -ve " master$" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment