#TIL 5 - Delete all local branches except master

git branch | grep -v "master" | xargs git branch -D
I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.
git branch | grep -v "master" | xargs git branch -D