gmc
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 -a

Stage selected paths

gmc -a cmd/root.go internal/workflow

Notes

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.

On this page