的行为,我有混蛋奇怪的行为 - 推工作,但克隆不是:(奇怪的git
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)
什么错
的行为,我有混蛋奇怪的行为 - 推工作,但克隆不是:(奇怪的git
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)
什么错
推可能是使用SSH(端口22),但克隆?如果你想克隆仓库,你(或你的网络管理员)必须打开这个端口。
如果您拥有对存储库的ssh访问权限和读取权限,则可以通过ssh进行克隆。 – 2010-04-23 09:54:09
尝试使用Github或Bitbucket(Sourcetree)应用程序。他们通常有更少的错误,并且执行命令行的大部分功能。我使用bitbucket,因为th eir GUI git应用程序非常复杂,并提供了许多选项。
到位桶http://bitbucket.org GitHub上http://github.com
也许'host'没有运行Git进程或许它只是拒绝从您的客户端连接。不知道你的配置细节很难说。 – 2010-04-23 09:44:02
告诉我们这个推文是怎么说的......应该包括版本库url,可能是ssh:而不是git :.在这种情况下,如果您使用与推送工作相同的网址,则应该没问题。 – 2010-04-23 10:45:29