gh pr create
Create a pull request
Options
Name | Description |
---|---|
-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, --draft | Mark pull request as a draft |
-f, --fill | Do 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-edit | Disable 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, --web | Open the web browser to create a pull request |