gh-pr-diff - Man Page

View changes in a pull request

Synopsis

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

Description

View changes in a pull request.

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

Options

--color <string>

Use color in diff output: {always|never|auto}

--patch

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

gh-pr(1)

Referenced By

gh-pr(1).

Jul 2022 GitHub CLI manual