git checkout master
git branch --merged master | grep -v master | xargs git branch -d
- Done
Last active
December 2, 2015 07:37
-
-
Save zulhfreelancer/c9d063d2014ac71aac15 to your computer and use it in GitHub Desktop.
How to delete all local git merged branches at once except master branch?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment