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