gk ai explain branch
Use AI to explain what changes your branch has
Synopsis
Use this command to get a detailed explanation of the differences between your branch and the base branch of the repository.
MODEL SELECTION
Pass –model
Run “gk ai provider show” to inspect the active provider and configured model. For GitKraken-hosted AI, “gk ai models” lists available ids and marks the backend default with *. With the GitKraken provider, –model “” bypasses a saved global override for this invocation and uses the backend default.
gk ai explain branch [flags]
Examples
gk ai explain branch
gk ai explain branch --model <MODEL_ID>
gk ai explain branch --branch <BRANCH> --model <MODEL_ID>
Options
-b, --branch string (Optional) specify the branch to explain, defaults to HEAD
-h, --help help for branch
--model string AI model id for this invocation (does not change saved settings)
-p, --path string (Optional) Repository path
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 ai explain - Use AI to explain commits, branches…