The life of a Commit and an Emoji ๐Ÿ“

git commit -m "initial commit"

The commit message here is just so bland....and to be honest, as an example it is very simple in structure and context. But let's say we had scope to add some color and vibrancy to our commit message, something simple, that doesn't require any fancy libraries / installs / compilers.

Emoji walks on stage ๐Ÿšถโ€โ™€๏ธ๐Ÿšถโ€โ™‚๏ธ

git commit -m "๐Ÿš€Initial commit"

Emojis โœจ, such a tiny addition that has now brought some life to this plain text. Did you know that other professions are using Emojis to denote similar context meaning to break through language barriers / dialect differences / and even Accessibility? No, well you do now...and one of the biggest leaders of this adoption is Marketing. Plain and simply put, using Emojis is a method to send a clear, concise, and direct message for categorisation. A single character implementation to express what words in a sentence does. And we can adopt this methodology in our commit messages. I'm not saying we all return to short text world of the early 2000s, but just think about it ๐Ÿ˜‰, in a world where seconds gained can be the difference between just-in-time and out-of-time. โฐ

Want more context? ๐Ÿ‘€ Peak this Zendesk Article ๐Ÿ‘€

And there is a simple and easy way to do this:

  • On Windows: Hold ctrl on your keyboard and then press . (this is a full stop / period symbol).
  • On Mac: Hold ctrl + cmd and then press space.

๐Ÿ‘†both of these will open your Emoji Picker drawer on your respective OS. If you are using an Android device, just select the Emoji drawer from the touchscreen keyboard.

  • Example of Windows Emoji Picker Drawer: emojiPicker Screenshot

If that doesn't tickle your fancy, you could always adopt the Common Locale Data Repository (CLDR) Short name: :bug: = ๐Ÿ› or even use Unicode Characters U+1F41B = ๐Ÿ›. Both of these methods when used, will give you a cute little Bug emoji, which as we all now in Programming...isn't that cute at all. ๐Ÿ˜ญ

If you do go down the road of CLDR / Unicode, here is a handy reference guide from the Unicode.org website.

Historical Usage Edge case & Modern Day:

Now before anyone get's on my case about the purity of a commit and what they should be representing, don't stress. What if I told you that a list of Emojis have been selected for standardisation usage in a commit message? Ayeee, got your attention now right? Carlos Cuesta and Gitmoji are available to provide best in content for this. Best of both worlds then, the old guard keeping commit messages pure, and the modern day using Emojis to unilaterally categorise a commit using a single character rather than a word, then followed by the Commit message itself.

Personally, I don't particularly stick to the Gitmoji usage, nor have I installed the CLI Library that comes with it, but I have used it as reference on how to structure commits using standardised Emojis.

Now instead of:

git commit -m "update: component styles added for carousel"
or
git commit -m "wip: upvote feature for December release"

I now type:

git commit -m "๐Ÿ’„: component styles added for carousel"
or
git commit -m "๐Ÿšง: upvote feature for December release"

Go out there and add some flare to your commits! Get funky, creative, and just enjoy the process of it. ๐ŸŽˆ๐Ÿ˜Š

What are you thoughts / takes on this? Have you ever used Emojis in commits before?๐Ÿค”

EmojisVersion ControlCommand LineGit
Avatar for Anthony O' Brien

Written by Anthony O' Brien

Software Developer using frontend base languages (HTML, CSS, JS) ๐Ÿ’…, Filemaker, and PHP. Working on procurement & compliance related apps in the HSE. โš• Online known as Auxfuse / Fuseโšก๐ŸŸ 

Loading

Fetching comments

Hey! ๐Ÿ‘‹

Got something to say?

or to leave a comment.