Last Updated: February 25, 2016
·
477
· flemon

delete all local branches

delete all local branches except "master"

git checkout master && git branch | grep -v "master" | xargs git branch -D