Commit
Prompt Template
Customize the LLM prompt used for commit messages.
prompt_template points to a YAML template file for commit-message generation.
Configure
gmc config set prompt_template /path/to/template.yamlUse default to return to the built-in template:
gmc config set prompt_template defaultVariables
Templates can use:
{{.Role}}{{.Files}}{{.Diff}}
Notes
Keep templates short. The diff is already truncated by gmc, so the template should guide style, not restate the whole workflow.