delete all local branches
delete all local branches except "master"
git checkout master && git branch | grep -v "master" | xargs git branch -D
Written by Jin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Branch
Authors
niklongstone
41.97K
muzzlefork
11.98K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#