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