github 体积限制

github 体积限制

仅供了解,切勿滥用。但愿自觉维护良好社区。git

单文件

单个文件大于 50M 时会收到警告, 100M 时会被拒绝。github

该警告将告诉您哪些文件太大:npm

remote: warning: Large files detected.
remote: warning: File big_file is 55.00 MB; this is larger than GitHub’s recommended maximum file size of 50 MB浏览器

推送信息big_file已接收并保存到GitHub上的存储库中,可是您应该考虑彻底删除文件和提交。markdown

100 MB推送限制
若是您将大于100 MB的文件推送到GitHub,Git将拒绝推送并告诉您哪一个文件太大:app

remote: warning: Large files detected.
remote: error: File giant_file is 123.00 MB; this exceeds GitHub’s file size limit of 100 MBui

因为,此推送被拒绝giant_file。提交将不会保存到GitHub上的存储库中。this

用户或仓库

用户帐号下全部仓库体积总和没有限制。
单个仓库硬限制为100G。超过75G时会收到警告,推荐为1G如下。url

经过浏览器将文件添加到存储库,则文件不能大于25 MB。3d

参考

个人磁盘配额是多少? https://help.github.com/en/articles/what-is-my-disk-quota
大文件的条件 https://help.github.com/en/articles/conditions-for-large-files

相关文章
相关标签/搜索