Member-only story

Conventional Commit messages in git

become the best git user

Karthikeyan Govindaraj
4 min readOct 9, 2020
git log --oneline

What is git commit message

A git commit message is a short text that identifies the context of the work. This is added by the flag -m in the git commit command. In simple terms, the commit message is the comment of what is the work that has happened.

To view the commit message in any git repository run git log --oneline. This command will display the list of messages; probably a list of messages that are not helpful for understanding the context of the commit. These message needs to be standardized; so that anyone looking at the commit history can understand the chronicle of changes.

But is this easy? I mean can everyone follow without a written consensus on
statements to use
format of the statement
verbs to be use
etc.,

Conventional Commits v1.0.0

Fortunately, such standard specification is available and is called Conventional Commits.

The Conventional Commit is heavily inspired by the angular commit message guidelines. The Conventional Commit has reached v1.0.0 and is available here.

--

--

Karthikeyan Govindaraj
Karthikeyan Govindaraj

Written by Karthikeyan Govindaraj

An Open Source Software enthusiast, DevOps and Cloud-Native App developer | https://linktr.ee/gkarthiks

No responses yet