Git Commit Messages

Help Your Future Self

Photo by Daniel Schludi on Unsplash

Recently, I was looking at my commit messages. I wasn’t able to comprehend some of them. I thought to myself, “there must be a better way.”

Lucky, there is a research paper that addresses this question. “What Makes a Good Commit Message?”

It is the consolidation of:

  • 46 research papers
  • 50 secondary sources
  • 30 expert opinions

A good message must answer these two questions:

  1. Why was the change required?
  2. What was changed?

Moreover, the researchers followed an empirical approach. They constructed a data set from popular open-source repositories and created a machine-learning algorithm to classify good messages based on these two criteria.

Check the results from the link below:




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium Walk-Through

Static libraries vs Dynamic libraries

“Hello World” - Welcome to My Blog

Solace: A Mental Wellness Mobile App

BGP- Prevent Transit AS using Prefix List

Unitrade Order Miner Open-Sourced

Frequency and API’s

Importing Power BI data into Azure Data Lake

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mansoor Aldosari

Mansoor Aldosari

More from Medium

An overview of Git, including what it is and how to use it.

Git rebase local branch

Git : Understanding basic commands and some useful tips

This chart explains the data flow using git commands