gh-pr-diff - View changes in a pull request
Contents
Description
View changes in a pull request.
Without an argument, the pull request that belongs to the current branch is selected.
With --web flag, open the pull request diff in a web browser instead.
Name
gh-pr-diff - View changes in a pull request
Options
--color<string>(default"auto")
Use color in diff output: {always|never|auto}
--name-only
Display only names of changed files
--patch
Display diff in patch format
-w, --web
Open the pull request diff in the browser
Options Inherited From Parent Commands
-R, --repo<[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
See Also
gh-pr(1) Jan 2025 GH-PR-DIFF(1)
Synopsis
ghprdiff[<number>|<url>|<branch>][flags]
