DEV Community

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

Collapse
 
david_j_eddy profile image
David J Eddy

A handy one indeed @ben . I went one step further and created an alias "git repo cleanup" in my ~/.bash_rc . Keeping a clean local is super helpful when projects get large and dozens of devs have you reviewing / checking / assisting daily.