Following the article wrote by @muzammil-cyber
Git Commit Message Decoder: New Coder Edition
Muhammad Muzammil Loya γ» May 3
I would recommend anyone looking for having emojis in their commits to use the following tool made by @carloscuesta
carloscuesta / gitmoji-cli
A gitmoji interactive cli tool for using emojis on commits. π»
gitmoji-cli
A gitmoji interactive client for using gitmojis on commit messages.
About
This project provides an easy solution for using gitmoji from your command line. Gitmoji-cli solves the hassle of searching through the gitmoji list. Includes a bunch of options you can play with! π
Install
npm
npm i -g gitmoji-cli
brew
brew install gitmoji
Usage
gitmoji --help
A gitmoji interactive client for using gitmojis on commit messages.
Usage
$ gitmoji
Options
--init, -i Initialize gitmoji as a commit hook
--remove, -r Remove a previously initialized commit hook
--config, -g Setup gitmoji-cli preferences.
--commit, -c Interactively commit using the prompts
--list, -l List all the available gitmojis
--search, -s Search gitmojis
--version, -v Print gitmoji-cli installed version
--update, -u Sync emoji list with the repo
Commit
You can use the commit functionality in two ways, directly or via a commit-hook.
If you want to integrate gitmoji-cli
in your project Iβ¦
You can select the right emoji for your commits.
You can also use @folke devmoji
β¨ Devmoji
Using Conventional Commits β as a standard for your commit messages, makes Semantic Versioning π as easy as can be, with tools like Conventional Changelog π Standard Version π and Semantic Release π¦π
Devmoji is a command line tool that adds color π to conventional commits, using emojis inspired by Gitmoji π
Some of the things Devmoji can do:
-
emojify: convert input between diferent emoji
formats
unicode
,shortcode
anddevmoji
. devmoji are easy to remember aliases like::test:
,:refactor:
,:docs:
,:security
instead of hard to remember emoji codes -
git commit: install a
prepare-commit-msg
commit hook to β¨ automagically emojify and lints your commit message -
git log: emojify and colorify the output of
git log
even for projects not using emojis
What does it look like?
- see the commit messages of the Devmoji github repository
- generated Devmoji CHANGELOG.md
π¦ Installation
Install with npm
β¦
This one transform your commit message into emoji.
Both can allow you to enforce conventional commits
Top comments (1)
These repos look cool! I'll check them out.