android - as 复制 github仓库的项目 失败

【字号: 日期:2022-12-09浏览:29作者:雯心

问题描述

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

问题解答

回答1:

试下这一句,提升缓存

git config --global http.postBuffer 1048576000

The remote end hung up unexpectedly while git cloning

回答2:

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=250Second 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=250Third Solution:

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

Go to remote git repository directoryRun the following command to reduce the size of postBuffergit config http.postBuffer 24288000you 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.

回答3:

git clone xxxx不行吗?

相关文章: