Forked from jessesquires/gist:8781c86206dfb70e78eb7f1aa4fc6fac
Created
January 15, 2018 21:09
-
-
Save blakemerryman/b74bc8cb16c41f751e4b515d1654de88 to your computer and use it in GitHub Desktop.
Delete all local git 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 config --global alias.trim '!f() { git branch | grep -v "\*" | xargs -n 1 git branch -D; }; f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment