4 ms·
I've came across reasons, but they've always been pretty marginal, such as somebody checking in sensitive credentials without realising what they were doing.
by talideon 11y ago
I've came across reasons, but they've always been pretty marginal, such as somebody checking in sensitive credentials without realising what they were doing.
- moron4hire 11y agoI think I would like the ability to edit commit messages for typos without having to force everyone to reset --hard.
- talideon 11y agoThe 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.