by LorenDB · 3y ago · 0 comments
If you are going to add emoji to a git commit, make sure it's appropriate. For example, if you add a feature to your app that shows confetti, you might add a party popper emoji to the commit message, but you shouldn't litter your git history with emoji unnecessarily.
I guess I could continue ranting about the people who add "feat:", "chore:", and the like to their commit messages, but what I've written about emojis here really applies to the plaintext tags as well.
https://github.com/julien040/gut/commit/a92e4c510d912deb490e...
https://github.com/Netflix/pollyjs/commits/master
Here I can quickly tell which commits are features or bug fixes, even if the rest of the message is slow/hard to parse.
Versus:
https://github.com/openai/whisper/commits/main
I sometimes need to parse a couple words before I can figure it out.
The emoji on the repo look quite varied, which is fun, but I think stricter use could be productive.