Created
April 20, 2018 09:51
-
-
Save mstred/a1c81c68e7c1041eced07f960f043a50 to your computer and use it in GitHub Desktop.
Delete all local branches but the one checked out
This file contains hidden or 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
alias gbrda='git branch | gsed "s/^[^*]/git branch -D/e"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment