DEV Community

Discussion on: How And When To Use Git Reset

Collapse
 
jmfayard profile image
Jean-Michel 🕵🏻‍♂️ Fayard

On GitHub you can do the same thing with merge and squash the commits.
The history in master is kept clean but you have a link to the pull request to see the details

Thread Thread
 
char_bone profile image
Charlotte

Yeah it definitely makes sense, especially if you do lots of tiny commits then you would clutter the main branch :) I guess there is a balancing act though as to leaving enough commits to be able to cherry pick certain functionality in future (rather than looking at a pull request and manually doing things)