/acommit

generate commit message with chatgpt api

Primary LanguageGo

Acommit

Generate commit message with chatgpt api

Install

Download the binary from GitHub Releases and drop it in your $PATH.

Or use go install

go install github.com/marocchino/acommit

Usage

# from your repo
git add .
acommit

Config

You can customize the prompt by modifying ~/.config/acommit/prompt.txt.

I18n example

If you want to write the commit message in a different language, you can add that language after the prompt. Let's say you're in Japanese.

And, Translate it to Japanese except prefix.

commit convention

Using gitmoji convention with emoji by default. You may have several other options.