【发布时间】:2018-09-30 13:51:32
【问题描述】:
错误:RPC 失败;结果 = 18,HTTP 代码 = 200MiB | 243.00 KiB/秒
致命:远端意外挂断
致命:早期 EOF
致命:索引包失败
我做了下面的 git 配置,但仍然无法正常工作..
[core]
packedGitLimit = 512m
packedGitWindowSize = 512m
[http]
postBuffer = 1048576000
maxRequestBuffer = 100M
[push]
default = current
[pack]
deltaCacheSize = 2047m
packSizeLimit = 2047m
windowMemory = 2047m
我正在克隆 git repo
git clone http://pathtogit.git /var/www/html/myproject
我也试过 git 压缩开/关,也试过下面的命令
git clone --depth 1 --branch developer http://path/path.git /var/www/html/project_folder
我正在使用 ubuntu 14.04 和 git 版本 1.9.1
【问题讨论】:
-
你试过增加 maxRequestBuffer 参数吗?
-
您尝试过使用 Git 2.19 吗? (使用正确的 ppa:launchpad.net/~git-core/+archive/ubuntu/ppa)