Re:Git commit accepts several message flags (-m) to allow mu...
by sonthonax on Wednesday July 08, 2020 @05:08AM
(#23768206)
I’d like to add, squashing is important in this workflow.
A string of commit messages on a branch saying, “add x”, “typo”, say a lot less than a single commit along the lines of “TICKET-XXX new feature”.
Then you are working on a subset of code, and can see of your change is effecting something else, or where else you need to make changes.
Or maybe someone fixed a bug there, then from commit message you can go to related bug, see their intentions more clearly.