Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
* [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)
  • Loading branch information
waylau committed Nov 27, 2014
1 parent 30942ed commit 3116dd7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 通知
Expand Down
Original file line number Diff line number Diff line change
@@ -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/)

0 comments on commit 3116dd7

Please sign in to comment.