error: RPC failed; result=18, HTTP code = 200 gitlab 百兆以上库下载报错

来源:互联网 发布:网站目录源码 编辑:程序博客网 时间:2024/05/02 01:11

当执行git clone http://xxxxxxxxx 时,报:

error: RPC failed; result=18, HTTP code = 200

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: unpack-objects failed

是因为gitlab HTTP 下载数据是有限制的;

解决这个问题的办法是:

修改 git/config/unicorn.yml 中设置 timeout 到 240, 默认是 30, 

修改保存后 重启 gitab 


0 0
原创粉丝点击