1GH-PR(1)                       GitHub CLI manual                      GH-PR(1)
2
3
4

NAME

6       gh-pr - Manage pull requests
7
8
9

SYNOPSIS

11       gh pr <command> [flags]
12
13
14

DESCRIPTION

16       Work with GitHub pull requests.
17
18
19

GENERAL COMMANDS

21       gh-pr-create(1)
22              Create a pull request
23
24
25       gh-pr-list(1)
26              List pull requests in a repository
27
28
29       gh-pr-status(1)
30              Show status of relevant pull requests
31
32
33

TARGETED COMMANDS

35       gh-pr-checkout(1)
36              Check out a pull request in git
37
38
39       gh-pr-checks(1)
40              Show CI status for a single pull request
41
42
43       gh-pr-close(1)
44              Close a pull request
45
46
47       gh-pr-comment(1)
48              Add a comment to a pull request
49
50
51       gh-pr-diff(1)
52              View changes in a pull request
53
54
55       gh-pr-edit(1)
56              Edit a pull request
57
58
59       gh-pr-lock(1)
60              Lock pull request conversation
61
62
63       gh-pr-merge(1)
64              Merge a pull request
65
66
67       gh-pr-ready(1)
68              Mark a pull request as ready for review
69
70
71       gh-pr-reopen(1)
72              Reopen a pull request
73
74
75       gh-pr-review(1)
76              Add a review to a pull request
77
78
79       gh-pr-unlock(1)
80              Unlock pull request conversation
81
82
83       gh-pr-view(1)
84              View a pull request
85
86
87

OPTIONS

89       -R, --repo <[HOST/]OWNER/REPO>
90              Select another repository using the [HOST/]OWNER/REPO format
91
92
93

EXAMPLE

95              $ gh pr checkout 353
96              $ gh pr create --fill
97              $ gh pr view --web
98
99
100
101
102

SEE ALSO

104       gh(1)
105
106
107
108                                   Oct 2023                           GH-PR(1)
Impressum