cn 我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

此版本的 GitHub Enterprise 将停止服务 2021-02-11. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

Conditions for large files

GitHub Enterprise Server limits the size of files allowed in repositories, and will block a push to a repository if the files are larger than the maximum file limit.


提示: 如果您经常推送大型文件到 your GitHub Enterprise Server instance,请考虑使用 Git Large File Storage (Git LFS) 。 更多信息请参阅“大型文件版本管理”。

Warning for files larger than 50 MB

If you attempt to add or update a file that is larger than 50 MB, you will receive a warning from Git. The changes will still successfully push to your repository, but you can consider removing the commit to minimize performance impact. For more information, see "Removing files from a repository's history."

Blocked pushes for large files

By default, GitHub Enterprise Server blocks pushes that exceed 100 MB. However, a site administrator can configure a different limit for your GitHub Enterprise Server instance. For more information, see "Setting Git push limits".


Privacy policy


所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。


或, 了解如何参与。