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 initManual 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.
- Auth Status:
yeet initchecks if you are logged in. - 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.
| Key | Description | Default |
|---|---|---|
engine_model | The Gemini model used for logic analysis. | gemini-2.0-flash |
conventional_commits | Enforce conventional commit standards. | true |
auto_push | Automatically push after commit in -cp mode. | true |
[!IMPORTANT] Modifying the internal config file manually is not recommended. Use
yeet configcommands whenever possible.
Last updated on