Forked from jessesquires/gist:8781c86206dfb70e78eb7f1aa4fc6fac
Created
January 11, 2018 10:49
-
-
Save elfenlaid/b8335a85b76d72370545fd182969075a 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