From 3116dd7757da6078a0604394abe42470406acfaf Mon Sep 17 00:00:00 2001 From: waylau Date: Thu, 27 Nov 2014 09:31:22 +0800 Subject: [PATCH] =?UTF-8?q?add=20*=20[What=20are=20the=20limits=20for=20vi?= =?UTF-8?q?ewing=20content=20and=20diffs=20in=20my=20repository=20?= =?UTF-8?q?=E5=9C=A8=E7=89=88=E6=9C=AC=E5=BA=93=E6=B5=8F=E8=A7=88=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=92=8C=E6=96=87=E4=BB=B6=E6=AF=94=E8=BE=83=E7=9A=84?= =?UTF-8?q?=E9=99=90=E5=88=B6=E6=98=AF=E4=BB=80=E4=B9=88](What=20are=20the?= =?UTF-8?q?=20limits=20for=20viewing=20content=20and=20diffs=20in=20my=20r?= =?UTF-8?q?epository=20=E5=9C=A8=E7=89=88=E6=9C=AC=E5=BA=93=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E5=86=85=E5=AE=B9=E5=92=8C=E6=96=87=E4=BB=B6=E6=AF=94?= =?UTF-8?q?=E8=BE=83=E7=9A=84=E9=99=90=E5=88=B6=E6=98=AF=E4=BB=80=E4=B9=88?= =?UTF-8?q?.md)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ ...在版本库浏览内容和文件比较f的限制是什么.md | 27 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较f的限制是什么.md diff --git a/README.md b/README.md index 0bb707b..1068ccf 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Chinese translation of the Github Help(https://help.github.com/index.html) and t * [Error:Repository not found 错误 库没有找到](https://github.com/waylau/github-help/blob/master/Error%20Repository%20not%20found%20%E9%94%99%E8%AF%AF%20%E5%BA%93%E6%B2%A1%E6%9C%89%E6%89%BE%E5%88%B0.md) +* [What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较的限制是什么](What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较的限制是什么.md) + ##Search 搜索 ##Notifications 通知 diff --git a/What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较f的限制是什么.md b/What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较f的限制是什么.md new file mode 100644 index 0000000..28847f8 --- /dev/null +++ b/What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较f的限制是什么.md @@ -0,0 +1,27 @@ +What are the limits for viewing content and diffs in my repository 在版本库浏览内容和文件比较的限制是什么 +=========== + +某些类型的资源可以很大,需要在 GitHub 做过度处理。所以会对请求做合理的限制。 + +下面是常见的限制情况: + +##Text limits 对本文限制 + +文本文件超过1 MB 总是显示为纯文本。代码不是语法高亮,并且松散格式文件不能转换为 HTML(如 Markdown, AsciiDoc 等)。 + +##Diff limits 对 diff 限制 + +diff (文件比较) 有时会变得很大,在 commit, pull , 和对比 diff 文件时将会做限制: + +* 没有一个单一的文件的差异可能会超过 100 kb +* 一个比较在所有文件视图中的总大小不能超过1 MB +* 在一个单一的 diff 文件的最大数目限制为300 + +一个有限的差异的一些部分可能显示,但是任何超过极限的都不显示。 + +##Commit listings limits 表明 + +比较页面和 pull 请求的页会在 base 和 head 版本之间显示提交列表。这个列表限制为 500 上限,如果超过这个上限,后期提交将会记录(但不会显示)。 + + +*参考:*[https://help.github.com/articles/what-are-the-limits-for-viewing-content-and-diffs-in-my-repository/](https://help.github.com/articles/what-are-the-limits-for-viewing-content-and-diffs-in-my-repository/) \ No newline at end of file