Skip to content

代码库大小限制

问题描述

上传代码到Gitee时,打印出如下日志:

 git push --force git@gitee.com:xx.xx.git master
remote: Powered by GITEE.COM [GNK-3.8]        
remote: Recommended to reduce the repository size        
remote: This repository(including wiki) size 581.64 MB exceeds 500.00 MB        
remote: HelpLink: https://gitee.com/help/articles/4232
To gitee.com:zjZSTU/xx.xxx.git

在网上查询发现是因为单个仓库大小超出了限制(500MB),经过一番查询发现GiteeCoding的个人仓库都限制在500MB

参考:

仓库体积过大,如何减小?

仓库大小限制吗?

Github对单个仓库大小的限制为1GB。参考:File and repository size limitations

问题解决

阿里云的单个仓库限制为2GB,能够满足当前需求。参考:代码库对文件大小是否有限制?

各个远程Git仓库服务器的官网地址如下:

  1. Gitee
  2. Coding
  3. Github
  4. Aliyun Code