RepoMindRepoMind

repomind commit

Generates a commit message from git diff --staged using AI.

Synopsis

repomind commit analyzes your git diff --staged and generates a commit message following the Conventional Commits standard using AI. You review, edit if you want, and confirm — all without leaving the terminal.

repomind commit [flags]

Flags

FlagTypeDefaultDescription
--instructions [texto]stringOne-off instruction for this generation; omitting the argument opens the interactive editor
--no-verifybooleanfalseSkips staged diff validation; the AI is called even if the stage has issues — consumes credits with no guarantee of a useful result
--verbose, -vbooleanfalseShows error details in the output
--help, -hbooleanShows help and exits

About --no-verify

By default, RepoMind validates the staged diff before calling the AI — it checks that there are changes, that the content is readable, and that the size is within the expected range. This step protects your credits: if the diff has any issue, generation is stopped before consuming any usage from your plan.

With --no-verify this validation is skipped and the AI is called directly. Use it only when you are sure the diff is valid but the automatic validation is blocking the generation (for example, diffs with mixed binaries or unusual formats).

Credit cost

--no-verify does not prevent usage from being consumed from your plan. If the AI receives a broken diff and cannot generate a useful message, the credit is still deducted.

Examples

Stage your changes and generate the message with a single run:

git add src/auth.ts
repomind commit

Steer the generation with a one-off instruction when the diff touches multiple contexts:

repomind commit --instructions "foca na mudança de autenticação"

Real output

Output
 Lendo diff staged...
 Entendendo as mudanças...
 Gerando mensagem...

feat(auth): adicionar suporte a device code flow

- adiciona troca de device code por JWT na CLI
- valida o token contra o secret CLI_JWT_SECRET
- cobre o fluxo com testes de integração

 Commit criado em 312ms

Plan limits

Plan limit

The commit command counts toward your billing cycle quota. Once the limit is reached, new runs are blocked until the renewal. See Billing & Plans for limits and upgrades.

On this page