我已经Google过并找到了很多解决方案,但都不适用于我。
我正试图通过连接到局域网中的远程服务器来从一台机器克隆。
从另一台机器运行此命令会导致错误。
但在服务器上使用 git://192.168.8.5 运行相同的克隆命令是可以的,并且成功了。
有任何想法吗?
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
我已经在.gitconfig
中添加了这个配置,但是没有帮助。
使用的Git版本为1.8.5.2.msysgit.0
[core]
compression = -1
git clone
来使其在Windows上运行。 - Eric Duminil