WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx create pullrequest
list of jx commands
jx create pullrequest
Create a Pull Request on the git project for the current directory
Synopsis
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]
Examples
# 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
text
goes
here
""
"
Options
--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
SEE ALSO
- jx create - Create a new resource
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)