Commit
Stage and Commit
Let gmc stage files before generating the message.
Use -a or --all when you want gmc to stage files before generating the message.
Stage all changes
gmc -aStage selected paths
gmc -a cmd/root.go internal/workflowNotes
Use selected paths when the working tree contains unrelated changes.
-a changes the index before the LLM prompt is generated, so inspect your diff first when scope matters.