DEV Community

Discussion on: How to delete all your local branches but keep master

Collapse
 
lesha profile image
lesha 🟨⬛️

It's generally not a good idea. If you finished working on a feature branch, merge it. If a branch isn't merged, it contains work in progress. Work in progress means something isn't working there. Also mass merging often leads to lots of conflicts.

Collapse
 
itsjzt profile image
Saurabh Sharma

Oh thanks