A git plugin to automatically generate commit messages using GPT.
go install github.com/graytonio/git-ai-commit@latest
# Ensure OPENAI_TOKEN is set in env
export OPENAI_TOKEN="my-openai-token"
Usage of git-ai-commit:
-dry
process diff without making commit
-prefix string
prefix for commit message
-suffix string
suffix for commit message
-verbose
verbose logging