gk work commit
Commit changes across all repos in the active work item
Synopsis
The “commit” command simplifies the process of committing changes across multiple repositories in the active work item, ensuring all changes are tracked and versioned properly.
With –ai, pass –model
gk work commit [flags]
Examples
gk work commit -m "commit message for all repos with changes in active work item"
gk work commit --ai
gk work commit --ai --model <MODEL_ID>
Options
--add-description (Optional) Add AI description to the commit message
--ai Have AI generate the commit message
-d, --description string (Optional) The git commit description
-h, --help help for commit
-m, --message string The git commit message
--model string AI model id for this invocation (does not change saved settings)
Options inherited from parent commands
--json Emit machine-readable JSON on stdout (GK_OUTPUT=json sets it session-wide)
--no-telemetry Disable telemetry (OTel spans, Sentry) for this invocation
--session string (Optional) Isolate auth and cache under a named session
SEE ALSO
- gk work - Interact with your work. Alias: ‘w’