Created
April 27, 2019 14:01
-
-
Save brpaz/12b5cb2f1218f6e117727c579bdc652b to your computer and use it in GitHub Desktop.
How to delete all your local branches but keep master #git
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
git branch | grep -v "master" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment