Ask HN: LLMs to write commit message? WTF
Came across a post on X today touting this as something awesome and it's definitely not!
May be I'm too old school, but imho if you need to call an LLM to write a commit message you're not committed enough! I think commits ought to be granular and cohesive enough that you can describe in a line or two. And taking time to summarize what you've done is only gonna help you in the future.
WDYT? It's one of my favourite features. It allows me to commit rapidly while I'm working without losing my train of thought, making for embarrassingly more utile commits. I'm not sure how summarizing things myself (and presumably, remembering) would help me in the future. And besides, it's what the commit message is for. Good to know! Thanks for sharing your workflow.
To answer your question, I just think when you're scrolling through git log, seeing a message in your own words has a much better chance of bringing back all that went behind that commit. But I agree that's very subjective. It often feels like AI is a solution desperately searching for a problem. In time it took you to write this sentence, AI made $113.7 million dollars worldwide ;) Profit?