DEV Community

Discussion on: Git garbage: what if your local have a lot of old branches?

 
fpeluso profile image
Fabio Peluso

Yeah, almost! The forth bulletpoint is not always there. I really appreciate your comment, it is a very clean way to deal with the situation

Thread Thread
 
jessekphillips profile image
Jesse Phillips

If the branch was merged on the remote, then my approach will find it. It is the reason I switch to origin/master. Any other branch can also be used, which checks for what is merged into that branch.

Have a good Thanksgiving if you celebrate.