git - git 无法使用 `git daemon` 通过 LAN 克隆
问题描述
我试图通过 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 错误吗?请帮忙!也许还有另一种方法可以克隆我的回购。
解决方案
推荐阅读
- reactjs - 我们如何在反应原生文本上制作动画效果?
- security - 如何最好地处理服务器上的 Stripe API 密钥
- python - 如何使“日志”功能起作用,以便只有 log("The log message") 可以工作?
- python - 将 HTML 表单结果发布到 api 并在烧瓶中获得响应
- python - Pandas:如何选择(过滤)子组中的子组?
- c# - 在 web api .net core 3.1 中传递 int 而不是字符串时出现 400 badrequest
- react-native - 我可以免费获得坐标的地点详细信息吗?地理编码/反向地理编码 Api 不是免费的吗?
- neo4j - Neo4j 查询以获取没有父级的文档
- python - 无法打开 lib '/opt/netsuite/odbcclient/lib64/ivoa27.so 无法找到 odbc 驱动程序 (Netsuite)
- python - 如何避免使用此代码收到 HTTP 错误 429:太多请求?