marocchino / acommit

generate commit message with chatgpt api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

generate commit message with chatgpt api


Languages

Language:Go 100.0%