graytonio / git-ai-commit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Git AI Commit

A git plugin to automatically generate commit messages using GPT.

Installation

go install github.com/graytonio/git-ai-commit@latest

Usage

# 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

About


Languages

Language:Go 97.9%Language:Makefile 2.1%