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

大文件的条件

GitHub 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.

本文内容

Tip: If you regularly push large files to GitHub, consider using 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

GitHub blocks pushes that exceed 100 MB.

问问别人

找不到要找的内容?

联系我们