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

后端 未结 6 969
终归单人心
终归单人心 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条回答
  •  鱼传尺愫
    2021-02-18 22:02

    git diff branchA branchB should work, no?

    More info on other perhaps useful diff notations can be found here

提交回复
热议问题