Loading...
Loading...
Use git-agent to commit changes with AI-generated conventional commit messages. Immediately runs git-agent commit when loaded — no setup or configuration questions unless an error occurs.
npx skill4agent add gitagenthq/git-agent-cli use-git-agentgit-agent commitgit diff --statgit-agent commit --intent "..."--freegit-agent commit --intent "..." --free--free~/.config/git-agent/config.ymlbase_url: https://api.openai.com/v1
api_key: sk-...
model: gpt-4o| Flag | When to use |
|---|---|
| User wants to preview the message without committing |
| User has already staged specific files and doesn't want auto-staging |
| User wants to rewrite the most recent commit message |
| Always set — keeps generated messages focused |
| Attribute a co-author (repeatable); skipped if |
| Add an arbitrary git trailer (repeatable) |
| Omit the default |
| Cap diff size sent to the model (0 = no limit) |
--amend--no-stagenamedescriptiongit-agent init --scope2--intentgit-agent commit --intent "update module path"0<type>(<scope>): <description>
- <Bullet one>
- <Bullet two>
<Explanation paragraph>
Co-Authored-By: Git Agent <noreply@git-agent.dev>| Command | What it does |
|---|---|
| Initialize git-agent in a repo (generates scopes, .gitignore, installs hooks) |
| Regenerate scopes only |
| Show resolved provider configuration |
| Set a config value (auto-selects scope) |
| Show a config value and its source scope |
| Generate shell completions (bash/zsh/fish/powershell) |
| Print build version |