1hub-pr(1)                         hub manual                         hub-pr(1)
2
3
4

NAME

6       hub-pr - Manage GitHub Pull Requests for the current repository.
7

SYNOPSIS

9       hub pr list [-s STATE] [-h HEAD] [-b BASE] [-o SORT_KEY [-^]] [-f
10       FORMAT] [-L LIMIT]
11       hub pr checkout PR-NUMBER [BRANCH]
12

COMMANDS

14       list
15           List pull requests in the current repository.
16
17       checkout
18           Check out the head of a pull request in a new branch.
19

OPTIONS

21       -s, --state STATE
22           Filter pull requests by STATE. Supported values are: "open"
23           (default), "closed", "merged", or "all".
24
25       -h, --head BRANCH
26           Show pull requests started from the specified head BRANCH. The
27           "OWNER:BRANCH" format must be used for pull requests from forks.
28
29       -b, --base BRANCH
30           Show pull requests based off the specified BRANCH.
31
32       -f, --format FORMAT
33           Pretty print the list of pull requests using format FORMAT
34           (default: "%pC%>(8)%i%Creset  %t%  l%n"). See the "PRETTY FORMATS"
35           section of git-log(1) for some additional details on how
36           placeholders are used in format. The available placeholders are:
37
38           %I: pull request number
39
40           %i: pull request number prefixed with "#"
41
42           %U: the URL of this pull request
43
44           %S: state ("open" or "closed")
45
46           %pS: pull request state ("open", "draft", "merged", or "closed")
47
48           %sC: set color to red or green, depending on state
49
50           %pC: set color according to pull request state
51
52           %t: title
53
54           %l: colored labels
55
56           %L: raw, comma-separated labels
57
58           %b: body
59
60           %B: base branch
61
62           %sB: base commit SHA
63
64           %H: head branch
65
66           %sH: head commit SHA
67
68           %sm: merge commit SHA
69
70           %au: login name of author
71
72           %as: comma-separated list of assignees
73
74           %rs: comma-separated list of requested reviewers
75
76           %Mn: milestone number
77
78           %Mt: milestone title
79
80           %NC: number of comments
81
82           %Nc: number of comments wrapped in parentheses, or blank string if
83           zero.
84
85           %cD: created date-only (no time of day)
86
87           %cr: created date, relative
88
89           %ct: created date, UNIX timestamp
90
91           %cI: created date, ISO 8601 format
92
93           %uD: updated date-only (no time of day)
94
95           %ur: updated date, relative
96
97           %ut: updated date, UNIX timestamp
98
99           %uI: updated date, ISO 8601 format
100
101           %mD: merged date-only (no time of day)
102
103           %mr: merged date, relative
104
105           %mt: merged date, UNIX timestamp
106
107           %mI: merged date, ISO 8601 format
108
109           %n: newline
110
111           %%: a literal %
112
113       --color[=WHEN]
114           Enable colored output even if stdout is not a terminal. WHEN can be
115           one of "always" (default for --color), "never", or "auto"
116           (default).
117
118       -o, --sort KEY
119           Sort displayed issues by "created" (default), "updated",
120           "popularity", or "long-running".
121
122       -^, --sort-ascending
123           Sort by ascending dates instead of descending.
124
125       -L, --limit LIMIT
126           Display only the first LIMIT issues.
127

SEE ALSO

129       hub-issue(1), hub-pull-request(1), hub(1)
130
131
132
133
134hub version 2.11.2                22 Apr 2019                        hub-pr(1)
Impressum