jx create pullrequest

list of jx commands

jx create pullrequest

Create a Pull Request on the git project for the current directory


Creates a Pull Request in a the git project of the current directory.

If –push is specified the contents of the directory will be committed, pushed and used to create the pull request

jx create pullrequest [flags]


  # Create a Pull Request in the current project
  jx create pullrequest -t "my PR title"
  # Create a Pull Request with a title and a body
  jx create pullrequest -t "my PR title" --body "
  some more


      --base string         The base branch to create the pull request into (default "master")
      --body string         The body of the pullrequest
      --dir string          The source directory used to detect the Git repository. Defaults to the current directory
      --fork                If true, and the username configured to push the repo is different from the org name a PR is being created against, assume that this is a fork
  -h, --help                help for pullrequest
  -l, --label stringArray   The labels to add to the pullrequest
      --push                If true the contents of the source directory will be committed, pushed, and used to create the pull request
  -t, --title string        The title of the pullrequest to create

Options inherited from parent commands

  -b, --batch-mode   Runs in batch mode without prompting for user input
      --verbose      Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace


Auto generated by spf13/cobra on 2-Sep-2020