GitKraken CLI

gk work pr create

Create pull requests for repos ahead of master

Synopsis

The pr create command will create a pull request for each repository within the work item that is ahead of master. The provided title and body will be used for each repository within the work item. If you use the AI flag, –ai, A unique title and body will be generated based on the changes made.

gk work pr create [flags]

Examples


  gk work pr create --ai
  gk work pr create -t "Title of Pull Request" -b "Body of Pull Request"

Options

      --ai                  Have AI generate pull request title and body
  -b, --body string         Body of the pull request to be created
  -h, --help                help for create
      --input-json string   Build the PR from a JSON object {"title","body","push"} (use "-" to read from stdin); cannot be combined with --title/--body/--ai
  -p, --push                Push repository if it is ahead from origin
  -t, --title string        Title of the pull request to be created. If empty, the name of the work item will be used.

Options inherited from parent commands

      --no-telemetry     Disable telemetry (OTel spans, Sentry) for this invocation
      --output string    Output format: text or json (default "text")
      --session string   (Optional) Isolate auth and cache under a named session

SEE ALSO

Auto generated by spf13/cobra on 23-Jul-2026

© 2023 Axosoft, LLC DBA GitKraken