DEV Community

Discussion on: Git Organized: A Better Git Flow

Collapse
 
daverooneyca profile image
Dave Rooney

This isn't a bad approach to dealing with the problem you describe - something broken in a different commit. I squash commits into a single one when merging to main so that if I need to revert, I'm reverting all of my work on that feature and not just one of several commits. I'm also in the rebase camp on this.