Re:GitFlow considered harmful
by moron4hire on Monday June 22, 2015 @09:45AM
(#9758236)
I think I would like the ability to edit commit messages for typos without having to force everyone to reset --hard.
[ Parent
| on HN ]
The thing is, the commit message is part of the commit, not something separate from it. Irritating as it might be, this is good for traceability.
What I do to avoid that is work on a separate branch, rebase against master, then review the commits on my branch after getting rid of any WIP commits and shuffling them around to make more sense. Finally, I make sure the commit messages are (a) accurate and (b) have no typos. Once I'm satisfied with that, I merge.
I treat merging as a big deal, but not committing.