Last Updated: February 25, 2016
·
473
· flemon

delete all local branches

delete all local branches except "master"

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