Skip to Content
DocumentationAI Commit

AI Commit

Generate intelligent commit messages using AI based on your staged changes.

Quick Start

neovate commit

This opens interactive mode where you can review the AI-generated message and choose an action.

For a one-liner workflow:

neovate commit -s -c --push

Features

  • 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

FlagDescription
-s, --stageStage all changes before committing
-c, --commitCommit changes automatically
--pushPush changes after commit
--copyCopy commit message to clipboard
--checkoutCreate and checkout new branch based on commit
-n, --no-verifySkip pre-commit hooks
-m, --model <model>Specify model to use
--language <lang>Set language for commit message
--follow-styleFollow existing repository commit style
-i, --interactiveInteractive mode (default)

Examples

Stage all changes and commit interactively:

neovate commit -s

Full pipeline - stage, commit, and push:

neovate commit -s -c --push

Create a new branch and commit:

neovate commit -s --checkout

Generate message in a specific language:

neovate commit --language Japanese

Skip pre-commit hooks when committing:

neovate commit -s -c -n

Configuration

You can set default options in your settings:

{ "commit": { "model": "claude-sonnet", "language": "English" } }

See Settings for more configuration options.

Last updated on