Show HN: aicommit – become the world's laziest committer
1–3 of 3 posts
Re: Show HN: aicommit – become the world's laziest committer
#2A 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.
Re: Show HN: aicommit – become the world's laziest committer
#3This is just polishing bad commit messages, it doesn't make them better. 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 disc…
Also, the `aicommit` tool has a -c flag for accepting context and the "why". I have only been playing with it for a couple of days so I'm not sure how effective it will be.