Commit
Overview
Generate Conventional Commit messages from staged diffs.
The root gmc command is the commit workflow.
It reads the staged diff, asks the configured LLM for a Conventional Commit message, shows the result, and commits after confirmation.
Minimal flow
git add .
gmcMain options
--dry-rungenerates a message without committing.-a, --allstages files before committing.-y, --yesaccepts the generated message without prompting.--branchcreates and switches to a generated branch name.--issueappends an issue reference to the subject.-o jsonreturns machine-readable output.
Related pages
- Basic commit flow
- Stage and commit
- Prompt template
- JSON output