gh pr diff

gh pr diff [<number> | <url> | <branch>] [flags]

View changes in a pull request.

Without an argument, the pull request that belongs to the current branch is selected.


--color <string>
Use color in diff output: {always|never|auto}
Display only names of changed files
Display diff in patch format

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format

See also