DEV Community

Discussion on: Plan Your Commits

Collapse
 
sjaakvandenberg profile image
Sjaak van den Berg

If I want to implement a feature I usually create a new branch and make commits whenever significant changes are made to files that I can group in the same category. So a commit with a message like Add footer is a part of a branch like create-about-page, which is merged with master or dev upon completion.

How do you guys handle commits with changes unrelated to the branch you're working on?