Skip to Content
Configuration

Configuration

Fine-tune yeet-git core logic and system parameters.

Gemini API Configuration

The AI engine requires a valid Google Gemini API key to deconstruct logic and suggest commit messages.

Setup via CLI

The fastest way to configure your key is via the init wizard:

yeet init

Manual Environment Variable

Alternatively, you can export the key in your shell configuration (.zshrc or .bashrc):

export GEMINI_API_KEY="your-api-key-here"

GitHub Authentication

yeet-git integrates with the GitHub CLI (gh) for seamless pipeline orchestration.

  1. Auth Status: yeet init checks if you are logged in.
  2. Scopes REQUIRED:
    • repo (Full control of repositories)
    • read:org (Read org data for PRs)
    • workflow (Manage actions)

Global Config File

The configuration is stored in a JSON file at ~/.yeet-git/config.json.

KeyDescriptionDefault
engine_modelThe Gemini model used for logic analysis.gemini-2.0-flash
conventional_commitsEnforce conventional commit standards.true
auto_pushAutomatically push after commit in -cp mode.true

[!IMPORTANT] Modifying the internal config file manually is not recommended. Use yeet config commands whenever possible.

Last updated on