docs(platform): update error

This commit is contained in:
zjkjzj
2021-03-19 12:33:07 +08:00
parent 5b0902542d
commit ef8ebed286
3 changed files with 39 additions and 40 deletions

View File

@@ -316,4 +316,42 @@ Host gitee.com
IdentitiesOnly yes
```
重新提交即可
重新提交即可
## 问题九:代码库大小限制
### 问题描述
上传代码到`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`),经过一番查询发现`Gitee``Coding`的个人仓库都限制在`500MB``Github`对单个仓库大小的限制为`1GB`
### 问题解决
阿里云的单个仓库限制为`2GB`,能够满足当前需求。
各个远程`Git`仓库服务器的官网地址如下:
1. [Gitee](https://gitee.com/)
2. [Coding](https://coding.net/)
3. [Github](https://github.com/)
4. [Aliyun Code](https://code.aliyun.com)
### 相关阅读
* [Gitee 仓库体积过大,如何减小? ](https://gitee.com/help/articles/4232#article-header0)
* [Tencent 仓库大小限制吗?](https://cloud.tencent.com/developer/ask/197652)
* [GitHub File and repository size limitations](https://help.github.com/en/github/managing-large-files/what-is-my-disk-quota#file-and-repository-size-limitations)
* [Aliyun代码库对文件大小是否有限制](https://help.aliyun.com/document_detail/153791.html?spm=5176.11065259.1996646101.searchclickresult.30c1183bbCmNS7)

View File

@@ -1,38 +0,0 @@
# 代码库大小限制
## 问题描述
上传代码到`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`),经过一番查询发现`Gitee``Coding`的个人仓库都限制在`500MB``Github`对单个仓库大小的限制为`1GB`
## 问题解决
阿里云的单个仓库限制为`2GB`,能够满足当前需求。
各个远程`Git`仓库服务器的官网地址如下:
1. [Gitee](https://gitee.com/)
2. [Coding](https://coding.net/)
3. [Github](https://github.com/)
4. [Aliyun Code](https://code.aliyun.com)
## 相关阅读
* [Gitee 仓库体积过大,如何减小? ](https://gitee.com/help/articles/4232#article-header0)
* [Tencent 仓库大小限制吗?](https://cloud.tencent.com/developer/ask/197652)
* [GitHub File and repository size limitations](https://help.github.com/en/github/managing-large-files/what-is-my-disk-quota#file-and-repository-size-limitations)
* [Aliyun代码库对文件大小是否有限制](https://help.aliyun.com/document_detail/153791.html?spm=5176.11065259.1996646101.searchclickresult.30c1183bbCmNS7)

View File

@@ -82,7 +82,6 @@ nav:
- README生成器: tool/generator-standard-readme.md
- '版本自动化及CHANGELOG生成': tool/standard-version.md
- 平台:
- 代码库大小限制: platform/代码库大小限制.md
- SSH公钥设置: platform/SSH公钥设置.md
- GitLab:
- 安装: platform/gitlab-安装.md