Spruce up your commit messages with emojis courtesy of GPT-3.
- Sign up for OpenAI and get an API key here.
- Install the CLI with
go install github.com/ammario/git-emoji/cmd/gitemoji
. - Set your
OPENAI_API_KEY
environment variable to your API key. - The next time you're about to push a commit, run
gitemoji
right before and follow the prompts.
If you care deeply about emojis, you can add the following to your ~/.gitconfig
:
[alias]
emoji = "! ~/go/bin/gitemoji"
Then you can run git emoji
, fully committing to the emoji lifestyle.