3 ms·
Commit messages derived from only code differences (doesn't matter whether they are generated by human or LLM) are generally useless. A commit message should d
by jooj881 3y ago
Commit messages derived from only code differences (doesn't matter whether they are generated by human or LLM) are generally useless.
A commit message should describe the context and reasoning which lead to a code change.
Describing the change itself is pointless, since you have a diff already.
- cubix4u 3y agoThat's a good point. Sometimes LLM generates incorrect GIT messages. I can add the whole source file including diff to the prompt, but it increases the token size. So I will find a good way to add more context to the prompt.