Download Github pull request as unified diff

前端 未结 3 1368
眼角桃花
眼角桃花 2020-12-12 08:54

How can I download the changes contained in a Github pull request as a unified diff?

3条回答
  •  孤街浪徒
    2020-12-12 09:16

    To view a commit as a diff/patch file, just add .diff or .patch to the end of the URL, for example:

    • https://github.com/weppos/whois/pull/90
    • https://github.com/weppos/whois/pull/90.diff
    • https://github.com/weppos/whois/pull/90.patch

提交回复
热议问题