Delete all local branches that have been merged into master
git branch --merged master | grep -v master | xargs git branch -dWritten by Ravi Kotecha
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Command-line
Authors
jasdeepkhalsa
11.85K
likeyn
1.56K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#