3 ms·
I agree with the author that the need to write descriptive commit messages (and untangle off-topic commits using `git add -p`) does take one out of the "flow" s
by ivan_ah 6y ago
I agree with the author that the need to write descriptive commit messages (and untangle off-topic commits using `git add -p`) does take one out of the "flow" state, but in my experience these post-work, commit-time self-checks are very useful: I run `git diff --cached` on the staged changes and review them to see what's going into the commit and often catch some bugs or forgotten pieces at this time, so overall I'd say the loss of flow is worth it.