-
-
Save braynm/e085498bcc14253d6d930411803a7ef7 to your computer and use it in GitHub Desktop.
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
# delete all branch except master | |
`git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D` | |
# delete all stash | |
`git stash clear` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment