Forked from jessesquires/gist:8781c86206dfb70e78eb7f1aa4fc6fac
Created
January 11, 2018 10:42
-
-
Save ricardopereira/46c1edbe0377b4e81988fb389ee021af 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