A CLI tool that makes it easy to add emojis to your git commit messages. It's very similar to (and is based on) gitmoji-cli but written in Rust.
sudo dnf install gimoji
cargo install -f gimoji
gimoji
is primarily intended to be used as a git prepare-commit-msg
hook. Once installed, ask
gimoji
to install the hook in your repository:
cd /path/to/your/project/
gimoji --init
Now, whenever you run git commit
, gimoji
will kick in and prompt you to choose an emoji.
If you launch gimoji
directly without any arguments, it will prompt you to choose an emoji and
then copy your choice to the system clipboard.
Use --help
to see all the available options.
gitmoji-cli while being a great tool, can be considerably slow. Hence this project. gimoji
has a
few differences:
-m
option of git commit
, or when amending a commit).gimoji
uses a
pre-compiled database that is included in the binary itself, hence it's much faster to start up
and does not need Internet access.The philosophy here is to enable you to quickly and easily choose an emoji and get out of your way.