gh pr create

Create a pull request

Options

NameDescription
-a, --assignee <login>Assign people by their login
-B, --base <branch>The branch into which you want your code merged
-b, --body <body>Body for the pull request
-d, --draftMark pull request as a draft
-f, --fillDo not prompt for title/body and just use commit info
-H, --head <branch>The branch that contains commits for your pull request (default: current branch)
-l, --label <branch>The branch that contains commits for your pull request (default: current branch)
-m, --milestone <name>Add the pull request to a milestone by name
--no-maintainer-editDisable maintainer's ability to modify pull request
-p, --project <name>Add the pull request to projects by name
-recover <string>Recover input from a failed run of create
-r, --reviewer <handle>Request reviews from people or teams by their handle
-t, --title <string>Title for the pull request
-w, --webOpen the web browser to create a pull request