by ammario on 8/30/24, 7:31 PM with 2 comments
by bazzargh on 8/30/24, 8:34 PM
A commit message should tell you why the code changed, not summarize what changed. I can read a code change and see what it does, but I can only guess what caused that change to be made unless the message tells me what was in your head (unless it's a trivial commit like a typo fix)
See eg https://cbea.ms/git-commit/#why-not-how for a longer discussion.