Generating Commit Messages from Git Diffs
Not on the map. Why?
Abstract (arXiv)
Commit messages aid developers in their understanding of a continuously evolving codebase. However, developers not always document code changes properly. Automatically generating commit messages would relieve this burden on developers. Recently, a number of different works have demonstrated the feasibility of using methods from neural machine translation to generate commit messages. This work aims to reproduce a prominent research paper in this field, as well as attempt to improve upon their results by proposing a novel preprocessing technique. A reproduction of the reference neural machine translation model was able to achieve slightly better results on the same dataset. When applying more rigorous preprocessing, however, the performance dropped significantly. This demonstrates the inherent shortcoming of current commit message generation models, which perform well by memorizing certain constructs. Future research directions might include improving diff embeddings and focusing on specific groups of commits.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). First posted on arXiv 26 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 0; 2024: 1; 2025: 2.
5 papers.
- 2021CommitBERT: Commit Message Generation Using Pre-Trained Programming Language Modelcited by 16
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 15
- 2025GitGoodBench: A Novel Benchmark For Evaluating Agentic Performance On Gitcited by 5
- 2021Unsupervised Learning of General-Purpose Embeddings for Code Changescited by 3
- 2024COMET: Generating Commit Messages using Delta Graph Context Representationcited by 3
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025GitGoodBench: A Novel Benchmark For Evaluating Agentic Performance On Git28 May 2025
- 2024COMET: Generating Commit Messages using Delta Graph Context Representation2 Feb 2024
- 2021Unsupervised Learning of General-Purpose Embeddings for Code Changes3 Jun 2021
- 2021CommitBERT: Commit Message Generation Using Pre-Trained Programming Language Model29 May 2021