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 for programmers to stay up-to-date, learn new skills, and share ideas.
We’ll never post without your permission.