After producing hundreds of open source software I've ended up inventing a git commit messaging that I really like.
I'd try a write more about it in a up coming blog post but here's the gist.
- Make your Git commit messages imperitive (E.g. Add this, instead of Added this)
- Use the following syntax and nothing expect that, this will make the commit instantly recognizable
- Use a git software like VS Code to commit git messages with the right files
π¦ NEW: IMPERITIVE_MESSAGE_GOES_HERE
β Use it when you add something completly new.
π IMPROVE: IMPERITIVE_MESSAGE_GOES_HERE
β Use it when you improve or enhance some piece of code like refactoring etc.
π FIX: IMPERITIVE_MESSAGE_GOES_HERE
β Use this when you fix a bug β need I say more?
π DOC: IMPERITIVE_MESSAGE_GOES_HERE
β Use this when you add documentation like readme.md, or even inline docs.
π RELEASE: IMPERITIVE_MESSAGE_GOES_HERE
β Use this when you release a new version.
That's it for now.
The create-guten-block repo git log is a live example of how it looks. Check it out.
This is a Work-In-Progress Emoji-spec for commit logs.