【发布时间】:2010-04-23 09:40:37
【问题描述】:
我对 git 有奇怪的行为 - push 正在工作,但 clone 不是:(
alec$ git clone git://host/repo.git
Initialized empty Git repository in /Users/alec/Temp/repo/.git/
host[0: x.x.x.x]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
怎么了?
【问题讨论】:
-
也许
host没有运行 git 守护进程,或者它只是拒绝来自您的客户端的连接。不知道你的配置细节很难说。 -
告诉我们 push 的意思...应该包括存储库 url,它可能是 ssh: 而不是 git:。在这种情况下,如果你使用与 push 相同的 url,你应该没问题。
标签: linux git iptables gitosis