mlsanityData to 7 Oct 2026

What Makes a Good Commit Message?

arXiv 2202.02974 ↗First posted 7 Feb 2022cs.SE cs.HCcited by 19

Not on the map. Why?

Abstract (arXiv)

A key issue in collaborative software development is communication among developers. One modality of communication is a commit message, in which developers describe the changes they make in a repository. As such, commit messages serve as an "audit trail" by which developers can understand how the source code of a project has changed-and why. Hence, the quality of commit messages affects the effectiveness of communication among developers. Commit messages are often of poor quality as developers lack time and motivation to craft a good message. Several automatic approaches have been proposed to generate commit messages. However, these are based on uncurated datasets including considerable proportions of poorly phrased commit messages. In this multi-method study, we first define what constitutes a "good" commit message, and then establish what proportion of commit messages lack information using a sample of almost 1,600 messages from five highly active open source projects. We find that an average of circa 44% of messages could be improved, suggesting the use of uncurated datasets may be a major threat when commit message generators are trained with such data. We also observe that prior work has not considered semantics of commit messages, and there is surprisingly little guidance available for writing good commit messages. To that end, we develop a taxonomy based on recurring patterns in commit messages' expressions. Finally, we investigate whether "good" commit messages can be automatically identified; such automation could prompt developers to write better commit messages.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Feb 2022.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 4; 2025: 7; 2026: 5.

19 papers.

Sort:

By area:

  1. 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
  2. 2024KADEL: Knowledge-Aware Denoising Learning for Commit Message Generationcited by 10
  3. 2025Towards an Understanding of Context Utilization in Code Intelligencecited by 10
  4. 2024CommitBench: A Benchmark for Commit Message Generationcited by 8
  5. 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLMcited by 8
  6. 2023Can GPT-4 Replicate Empirical Software Engineering Research?cited by 7
  7. 2025Hallucinations in Code Change to Natural Language Generation: Prevalence and Evaluation of Detection Metricscited by 4
  8. 2024COMET: Generating Commit Messages using Delta Graph Context Representationcited by 3
  9. 2023A Full-fledged Commit Message Quality Checker Based on Machine Learningcited by 2
  10. 2026Code Change Characteristics and Description Alignment: A Comparative Study of Agentic versus Human Pull Requestscited by 2
  11. 2026Why Does CLAUDE.md Keep Growing? Catastrophic Remembering in Agentic Codingcited by 2
  12. 2025Mitigating Sensitive Information Leakage in LLMs4Code through Machine Unlearningcited by 1
7 more
  1. 2025CodeFuse-CommitEval: Towards Benchmarking LLM's Power on Commit Message and Code Change Inconsistency Detectioncited by 1
  2. 2026Pull Requests as a Training Signal for Repo-Level Code Editingcited by 1
  3. 2026Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMscited by 1
  4. 2024Towards Realistic Evaluation of Commit Message Generation by Matching Online and Offline Settingscited by 0
  5. 2025AI-Powered Commit Explorer (APCE)cited by 0
  6. 2025CoRaCMG: Contextual Retrieval-Augmented Framework for Commit Message Generationcited by 0
  7. 2026An Empirical Study of Downstream Adaptation for Agent Skillscited by 0