GitHub.com的存储库大小限制 [英] Repository size limits for GitHub.com

查看:677
本文介绍了GitHub.com的存储库大小限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我一直在使用GitHub,我想知道github.com上托管的文件的存储库限制是多少?我一直在想这是因为我考虑使用GitLab,因为它允许每个存储库10 GB.

Lately I have been using GitHub and I'm wondering, what is the repository limit for files hosted on github.com? I've been wondering this because I was thinking of using GitLab since it allows 10 GB for each repository.

推荐答案

来自GitHub的

GitHub没有设置的磁盘配额.我们会尽力为所有Git存储库提供充足的存储空间.将存储库保持在较小的规模可确保我们的服务器快速运行,并为我们的用户快速下载.

GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repositories, within reason. Keeping repositories small ensures that our servers are fast and downloads are quick for our users.

此外,我们对文件大小超过100 MB进行了严格限制.

In addition, we place a strict limit of files exceeding 100 MB in size.

现在请回答我的非罐装部分. GitHub可能允许您存储最大100MB的文件,但是您也应该警惕 not 版本的二进制文件或其他类似的blob类型文件.这样做的原因是,Git无法很好地处理二进制文件,而存储可能会是一个很大的损失.因此,如果发现每个文件占用100MB内存,则应检查要处理的文件类型.

Now for the non-canned part of my answer. GitHub might allow you to store files up to 100MB, but you should also be vigilant to not version binary or other similar blob type files. The reason for this is that Git doesn't handle binaries well, and storage can be a big penalty. So if you find yourself pushing 100MB per file, you should check what type of file you are dealing with.

这篇关于GitHub.com的存储库大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆