Reading ugly commits is not very pleasant and makes it very confusing when you have to check the commit history.
❌ Figure: Bad example - The commits have no meaning
Here are a few ways to improve your commit log.
Examples:
Even better is to add a helpful prefix to categorize your commits.
Examples:
In a text message, emojis helps to add emotion and context to plain text. Why not use them in commit messages too 😃?
Examples:
There are a bunch more options to choose from - carloscuesta/gitmoji: An emoji guide for your commit messages. 😜 (github.com)
Gitmoji - Visual Studio Marketplace (visualstudio.com).
You can even go 🤘 hardcore and use the gitmoji cli - carloscuesta/gitmoji-cli: A gitmoji interactive command line tool for using emojis on commits. 💻 (github.com)
✅ Figure: Good example - Great use of emoji and concise message
See what emojis work best with each topic here: https://gitmoji.dev/
Figure: Emojis list