1

我试图通过 LAN 从另一台 Windows PC 克隆我的 repo。其他关于fatal: read error: Invalid argument没有给我任何解决方案的帖子。

在服务器上

$ git daemon --base-path=/c/Users/user/Repos/ --export-all --timeout=10000 --port=9999 --verbose
[25784] Ready to rumble
[9248] Connection from 10.200.24.111:53464
[9248] unable to set SO_KEEPALIVE on socket: No error
[9248] Extended attribute "host": FLEXIT26015:9999
[9248] Request upload-pack for '/myrepo'

在客户端

$ git clone git://SERVERNAME:9999/myrepo
Cloning into 'myrepo'...
remote: Enumerating objects: 38591, done.
remote: Counting objects: 100% (38591/38591), done.
remote: Compressing objects: 100% (16046/16046), done.
Receiving objects: 100% (38591/38591), 39.81 MiB | 6.99 MiB/s, done.
fatal: read error: Invalid argument
Resolving deltas: 100% (25978/25978), done.
fatal: error in sideband demultiplexer

请求后服务器什么也没说??这是一个 git 错误吗?请帮忙!也许还有另一种方法可以克隆我的回购。

4

0 回答 0