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?
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.