2

我在 Windows Server 2012 R2 标准机器(名为 myhostserver)上的 IIS8 上托管了 Bonobo Git 服务器(https://bonobogitserver.com/);在此服务器(myrepo.git)上创建了一个存储库(裸机)。

我可以通过命令在服务器本身上克隆这个 repo

git clone http://admin@localhost/Bonobo.Git.Server/myrepo.git

此外,当我从 LAN 上的另一台机器访问该服务器的 URL ( http://myhostserver/Bonobo.Git.Server ) 时,我可以登录并查看 repo (myrepo)。它将存储库的 URL 显示为 http://admin@myhostserver/Bonobo.Git.Server/myrepo.git

但是当我尝试通过命令克隆这个 repo(在 LAN 上的当前机器上)时:

git clone 在此处输入链接描述 ,命令失败并输出:**致命:

git clone http://admin@myhostserver/Bonobo.Git.Server/myrepo/info/refs无效:这是一个 git 存储库吗?**

我怎么解决这个问题?

4

0 回答 0