gh-pr1
Manage pull requests
Usage
gh pr
<command>
[flags]
Overview
Work with GitHub pull requests.
General commands
|
Create a pull request |
|---|---|
|
List pull requests in a repository |
|
Show status of relevant pull requests |
Targeted commands
|
Check out a pull request in git |
|---|---|
|
Show CI status for a single pull request |
|
Close a pull request |
|
Add a comment to a pull request |
|
View changes in a pull request |
|
Edit a pull request |
|
Lock pull request conversation |
|
Merge a pull request |
|
Mark a pull request as ready for review |
|
Reopen a pull request |
|
Revert a pull request |
|
Add a review to a pull request |
|
Unlock pull request conversation |
|
Update a pull request branch |
|
View a pull request |
Options
-
-R, --repo <[HOST/]OWNER/REPO> -
Select another repository using the [HOST/]OWNER/REPO format
Exit status
0: Successful execution
1: Error
2: Command canceled
4: Authentication required
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.
Examples
$ gh pr checkout 353 $ gh pr create --fill $ gh pr view --web
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.