下载 Github 拉取请求作为统一差异 [英] Download Github pull request as unified diff
本文介绍了下载 Github 拉取请求作为统一差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将 Github 拉取请求中包含的更改作为统一差异下载?
How can I download the changes contained in a Github pull request as a unified diff?
推荐答案
要将提交查看为 diff/patch 文件,只需将 .diff
或 .patch
添加到URL 的结尾,例如:
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
这篇关于下载 Github 拉取请求作为统一差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文