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

相關文章
相關標籤/搜索