DEV Community

Cover image for 🤖 🚀 ✨ Emojify your conventional commits with Devmoji

🤖 🚀 ✨ Emojify your conventional commits with Devmoji

Folke Lemaitre on January 16, 2020

Using Conventional Commits ⭐ as a standard for your commit messages, makes Semantic Versioning 🔖 as easy as can be, with tools like Conventional Ch...
Collapse
 
defman profile image
Sergey Kislyakov

I'd prefer my commits to not include emojis. They are distracting, especially in a terminal. The format below works fine without any emojis whatsoever.

<type>(<scope>): <short description>

<body>

<issue id, tags, etc.>
Collapse
 
shostarsson profile image
Rémi Lavedrine

I love that.
Maybe it is not good to do that in a company as some people could not love this.
But on you personnal projects, if you do love that kind of visual stuff in your Git tree, that is a very good thing.

Collapse
 
folke profile image
Folke Lemaitre

Unless it's your own company 😉

Collapse
 
shostarsson profile image
Rémi Lavedrine

Absolutely. 😄

Collapse
 
moopet profile image
Ben Sinclair

I think this is a terrible idea, mostly because I struggle to read these little pictograms. Even when I do recognise that something's a firework rather than an explosion, I don't know whether that's a good thing or a bad thing.

I rely on the surrounding text to infer meaning by context. And at that point, why don't I just read the text; reading the text is orders of magnitude faster for me.

I'd hate to have to programatically search for something by whether it had a picture of an otter or a cat.

Collapse
 
folke profile image
Folke Lemaitre

It's definitely inspired by Gitmoji, but Devmoji is meant to be used with the conventional commit message format. Emojis are automatically added with the prepare-commit-msg hook, based on the type and scope of the commit. Additionally, you can use emoji shortcodes like :security: :release: etc instead of 🔒 🚀, ... Easier to remember and fully customizable for your environment.

Collapse
 
gauravggg21 profile image
Gaurav Agarwal

Can we somehow use this in python?