我用Google搜索并找到了许多解决方案,但对我来说都没有用.
我试图通过连接到LAN网络中的远程服务器从一台计算机克隆.
从另一台计算机运行此命令会导致错误.
但是在服务器上使用git://192.168.8.5运行SAME clone命令它没关系并且成功.
有任何想法吗 ?
user@USER ~
$ git clone -v git://192.168.8.5/butterfly025.git
Cloning into 'butterfly025'...
remote: Counting objects: 4846, done.
remote: Compressing objects: 100% (3256/3256), done.
fatal: read error: Invalid argument, 255.05 MiB | 1.35 MiB/s
fatal: early EOF
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
我已添加此配置,.gitconfig但也没有帮助.
使用git版本1.8.5.2.msysgit.0
[core]
compression = -1
Run Code Online (Sandbox Code Playgroud) 在执行git push时,我收到此错误:
Username for 'https://github.com': Newbie
Password for 'https://Newbie@github.com':
Counting objects: 11507, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8210/8210), done.
Writing objects: 100% (11506/11506), 21.75 MiB | 0 bytes/s, done.
Total 11506 (delta 2213), reused 11504 (delta 2211)
efrror: RPC failed; result=56, HTTP code = 200
atal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
Run Code Online (Sandbox Code Playgroud)
我也尝试过:git config http.postBuffer 524288000,但仍然出错..还试过:git config --global http.postBuffer 2M通过引用git push错误:RPC失败; result = 56,HTTP代码= …
我已经使用了几年的Git存储库,但仍然感觉像是一个新的..帮助是最受欢迎的!
它开始克隆一段时间:
remote: Counting objects: 22394<br>
remote: Compressing objects: 100% (12314/12314)<br>
Receiving objects: 32% ....
Run Code Online (Sandbox Code Playgroud)
错误:
error: RPC failed; result=56, HTTP code = 200<br>
fatal: The remote end hung up unexpectedly<br>
fatal: early EOF<br>
fatal: index-pack failed
Run Code Online (Sandbox Code Playgroud)
git命令:
git clone https://[username]:[password]@github.com/MegaWorldStudios/OmegatechV2.git "C:\OmegatechV2"
Run Code Online (Sandbox Code Playgroud)
Git版本:
1.9.4-preview20140929(今天从git fellas下载/更新)
我找到了这样的问题,但没有一个答案解决了这个问题.
我也尝试过:
将postBuffer设置得更高,如同类似帖子所述
git config http.postBuffer 524288000<br>
git config --global http.postBuffer 524288000
Run Code Online (Sandbox Code Playgroud)
设置--depth 1并做一个浅层克隆,我可以稍后完成剩下的工作
设置 - 深度2
error: RPC failed; result=18, HTTP code = 200
Cloning from a branch other than the main branch
Reinstalling …Run Code Online (Sandbox Code Playgroud)