android - as 复制 github仓库的项目 失败
伊谢尔伦
伊谢尔伦 2017-04-17 17:31:06
[Android讨论组]

最后报错:
Clone failed
early EOF The remote end hung up unexpectedly index-pack failed RPC failed; result=18, HTTP code = 200

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

全部回复(3)
天蓬老师

试下这一句,提升缓存

git config --global http.postBuffer 1048576000

The remote end hung up unexpectedly while git cloning

大家讲道理

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

First Solution:

Try running the command below in the remote repository if error is fatal: index-pack failed

git repack -a -f -d --window=250 --depth=250
Second Solution:

Also try the below ones from the remote repository location if the above one didn't work:

git gc --aggressive

git repack -a -f -d --window=250 --depth=250
Third Solution:

Try reducing the postBuffer size in the remote repository config. Follow the steps below

Go to remote git repository directory
Run the following command to reduce the size of postBuffer
git config http.postBuffer 24288000
you can check this value by doing "git config --get http.postBuffer"
Try cloning the repository now (back to where are you cloning)
If failed with error: RPC failed; result=18, HTTP code = 200 try again by incresing the postBuffer ever further in the config. go to step 1.

黄舟

git clone xxxx不行吗?

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号