View the changes made in the pull request for the current branch

gh pr

  • Manage GitHub pull requests from the command-line.
    Some subcommands such as `gh pr create` have their own usage documentation.
    More information: <https://cli.github.com/manual/gh_pr>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gh pr diff

click the source code to copy install gh pr on any operating system with command-not-found.com