Let’s talk about git commit messages.
What we need is a convention to follow. Luckily, there is one called Conventional Commits.
A specification for adding human and machine readable meaning to commit messages.
The most useful part of these conventional commit messages are the types. These are;
So you would write you commit messages in the following format;
git commit -am "test: added tests for a new blog system" git commit -am "feat: created new blog" git commit -am "docs: added documentation for creating blog posts" git commit -am "fix: correct the date format"
You can use a tool such as Commitizen to help you generate these messages.