How do you recreate the GitHub pull request diff on the commandline?

后端 未结 6 976
终归单人心
终归单人心 2021-02-18 21:20

While working on a branch that I\'ve opened a pull request on, I would like to see the exact same diff that GitHub displays on the commandline. What is the particular git diff c

6条回答
  •  梦毁少年i
    2021-02-18 21:59

    If you don't want to do any git fetch and update a local PR branch, you simply can use cli/cli, the command-line interface for GitHub.

    The release 0.9.0 includes gh pr diff

提交回复
热议问题