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?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 likecreate-about-page
, which is merged withmaster
ordev
upon completion.How do you guys handle commits with changes unrelated to the branch you're working on?