[200719] Github limitation on repository size and file size

Github limitation on repository size and file size

GitHub 尝试为所有 Git 仓库提供丰富的存储空间,尽管文件和仓库大小存在硬性限制。

文件和仓库大小限制

为确保用户的性能和可靠性,我们积极监控整个仓库运行状况的信号。 仓库运行状况是各种交互因素共同作用的结果,包括大小、提交频率、内容和结构。
建议仓库保持较小,理想情况下小于 1 GB,强烈建议小于 5 GB。 较小的仓库克隆速度更快,使用和维护更容易。 仓库中的单个文件严格限于 100 MB 的大小上限。

50MB
When single file size is larger than 50 MB, you will receive warning after push to github, but it is just warning, it will not influence your normal operation.

Multiple repository
If you project size is too large, e.g., 3 GB, you can separate it into multiple repository.

Visit punishment
My experience is that after cloning a large repository(1.3 GB size), I can’t visit github later.
I thought this maybe a punishment designed by github.

My solution in this case is to use my cell phone as hot-spot, and then I can interface with github normally.

https://docs.github.com/cn/github/managing-large-files/what-is-my-disk-quota

你可能感兴趣的:(Use,Git&Github,github)