1GH-PR-DIFF(1) GitHub CLI manual GH-PR-DIFF(1)
2
3
4
6 gh-pr-diff - View changes in a pull request
7
8
9
11 gh pr diff [<number> | <url> | <branch>] [flags]
12
13
14
16 View changes in a pull request.
17
18
19 Without an argument, the pull request that belongs to the current
20 branch is selected.
21
22
23
25 --color <string>
26 Use color in diff output: {always|never|auto}
27
28
29 --patch
30 Display diff in patch format
31
32
33
35 -R, --repo <[HOST/]OWNER/REPO>
36 Select another repository using the [HOST/]OWNER/REPO format
37
38
39
41 gh-pr(1)
42
43
44
45 Jun 2022 GH-PR-DIFF(1)