git daemon克隆在局域网中不起作用 [英] git daemon clone is not working in local area network
本文介绍了git daemon克隆在局域网中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用局域网访问中央存储库中的文件.
I am using a local area network to access the files in my central repository.
我创建了一个裸仓库来存储我的文件,我使用以下命令启动了git守护程序:
I created a bare repository to store my files in it, I started a git daemon using the following command:
> git daemon --verbose --export-all --enable=upload-pack --enable=receive-pack --base-path=d:/
系统2
从第二个系统中,我正在尝试使用命令克隆裸存储库
System 2
From the second system I am trying to clone the bare repository using the command
$ git clone git://192.168.1.8/bare-repository.git
但是它给出了类似的错误
But it gives the error like
$ git clone git://192.168.1.8/bare-repository
Cloning into 'bare-repository'...
remote: Counting objects: 3, done.R
Receiving objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
fatal: read error: Invalid argument
fatal: error in sideband demultiplexer`.
您能帮助我解决该错误吗?
Can you please help me to solve that error?
推荐答案
这种错误消息通常与以下内容相关:
That type of error message is usually associated with:
- 连接问题(即,它确实启动了克隆,但由于连接故障而无法完成克隆):请参阅" Git守护程序克隆错误"
- 远程回购内容问题:请参阅" Git响应边带解复用器中的错误" "
- 内存问题(相同的问题)
- 接收后挂钩("带有git接收后挂钩的边带解复用器错误"),不是这种情况,因为您正在克隆而不是推动.
- a connectivity issue (ie it does start the clone, but is unable to complete it because of connection glitch): see "Git daemon cloning error"
- a remote repo content issue: see "Git responds with 'error in sideband demultiplexer'"
- memory issue (same question)
- a post-receive hook ("Error in sideband demultiplexer with a git post-receive hook"), which shouldn't be the case here, as you are cloning, not pushing.
这篇关于git daemon克隆在局域网中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文