TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Did GitHub remove the raw diff

5 点作者 withinboredom大约 2 个月前
I&#x27;m either going crazy, or GitHub removed&#x2F;moved the raw diff ability. You used to be able to get a raw diff from a PR by just adding &quot;.diff&quot; to the url, but it appears it doesn&#x27;t work anymore.<p>I generally use this when receiving a PR and don&#x27;t want to go through the hassle of checking out their branch, so I would just grab the raw diff and apply it locally. This seems to have gone away though.<p>Is this a bug or something? Has anyone else noticed this issue and found a work around?

1 comment

susam大约 2 个月前
Seems to work for me:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;pull&#x2F;8.diff">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;pull&#x2F;8.diff</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;pull&#x2F;8.patch">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;pull&#x2F;8.patch</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;commit&#x2F;aa8f72f4c6eabc5568f71155afca8c96eccf7ff5.diff">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;commit&#x2F;aa8f72f4c6eabc5568f7115...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;commit&#x2F;aa8f72f4c6eabc5568f71155afca8c96eccf7ff5.patch">https:&#x2F;&#x2F;github.com&#x2F;susam&#x2F;fxyt&#x2F;commit&#x2F;aa8f72f4c6eabc5568f7115...</a>