我已经使用了几年的Git存储库,但仍然感觉像是一个新的..帮助是最受欢迎的!
它开始克隆一段时间:
remote: Counting objects: 22394
remote: Compressing objects: 100% (12314/12314)
Receiving objects: 32% ....
错误:
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
git命令:
git clone https://[username]:[password]@github.com/MegaWorldStudios/OmegatechV2.git "C:\OmegatechV2"
Git版本:
1.9.4-preview20140929(今天从git fellas下载/更新)
我找到了这样的问题,但没有一个答案解决了这个问题.
我也尝试过:
将postBuffer设置得更高,如同类似帖子所述
git config http.postBuffer 524288000
git config --global http.postBuffer 524288000
设置--depth 1并做一个浅层克隆,我可以稍后完成剩下的工作
设置 - 深度2
error: RPC failed; result=18, HTTP code = 200 Cloning from a branch other than the main branch Reinstalling the software and updating
这种恶意错误意味着什么,修复/解决方法是什么?
非常感谢提前!
由于Git的HTTPS协议,会发生此错误.要详细查看错误,可以设置GIT_CURL_VERBOSE
环境变量.例如:
$ GIT_CURL_VERBOSE=1 git pull
您的防病毒或防火墙可能正在修改传输中的HTTP数据包.例如,请参阅由于防病毒而导致的git clone失败.
最后,它可能是一个不可靠的网络连接.我正在使用连接到Wifi的OSX机器,当我切换到LAN连接时问题消失了.