AI Commit
Generate intelligent commit messages using AI based on your staged changes.
Quick Start
neovate commitThis opens interactive mode where you can review the AI-generated message and choose an action.
For a one-liner workflow:
neovate commit -s -c --pushFeatures
- AI-generated commit messages - Analyzes your staged changes and generates meaningful commit messages
- Branch name suggestions - Suggests descriptive branch names based on your changes
- Breaking change detection - Identifies and flags breaking changes
- Interactive mode - Review, edit, and choose actions before committing
Options
| Flag | Description |
|---|---|
-s, --stage | Stage all changes before committing |
-c, --commit | Commit changes automatically |
--push | Push changes after commit |
--copy | Copy commit message to clipboard |
--checkout | Create and checkout new branch based on commit |
-n, --no-verify | Skip pre-commit hooks |
-m, --model <model> | Specify model to use |
--language <lang> | Set language for commit message |
--follow-style | Follow existing repository commit style |
-i, --interactive | Interactive mode (default) |
Examples
Stage all changes and commit interactively:
neovate commit -sFull pipeline - stage, commit, and push:
neovate commit -s -c --pushCreate a new branch and commit:
neovate commit -s --checkoutGenerate message in a specific language:
neovate commit --language JapaneseSkip pre-commit hooks when committing:
neovate commit -s -c -nConfiguration
You can set default options in your settings:
{
"commit": {
"model": "claude-sonnet",
"language": "English"
}
}See Settings for more configuration options.
Last updated on