its-mage / emojify-commits

Every ๐Ÿ–๏ธ commit message ๐Ÿ’ฌ deserves emojis ๐ŸŽ‰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

emojify-commits

Every ๐Ÿ–๏ธ commit message ๐Ÿ’ฌ deserves automatic emojis ๐ŸŽ‰

โ‰๏ธ What is this?

This is basically a git hook, a prepare-commit-msg one, written in Python. This script runs everytime you add a commit. It grabs your commit message, parses through it and... adds emojis! If the message contains words present in tags or description of the emoji (see emoji.json) that emoji is added to the message. If the script is unable to find a matching emoji it chooses two random emojis, because why not.

๐Ÿค” How do I make my commits full of emojis?

Since it is a git hook you have to add it to a specific repo. Make sure you have Python 3+. Open a terminal, change directory to your local repository, and run this command:

wget https://raw.githubusercontent.com/hugofragata/emojify-commits/master/install.sh -O - | sh

Then just commit like you'd do usually, the emojis shall appear magically ๐Ÿ”ฎ, like this. usage

About

Every ๐Ÿ–๏ธ commit message ๐Ÿ’ฌ deserves emojis ๐ŸŽ‰

License:MIT License


Languages

Language:Python 76.7%Language:Shell 23.3%