Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 836 Bytes

README.md

File metadata and controls

40 lines (25 loc) · 836 Bytes

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.