对于否决我的合法问题的傻瓜,答案就在这里:
在 Windows Server 2012 R2/IIS 上运行 Git 服务器
---原始问题---
我们有两个虚拟机在本地网络上运行。为了这个问题,假设第一台机器的 IP 是 11.11.11.11,第二台机器的 IP 是 22.22.22.22。它们都在运行 Windows Server 2012 R2/IIS 8。11.11.11.11 正在运行 Bonobo Git Server,一切似乎都运行良好。
我正在尝试使用机器 22.22.22.22 从 11.11.11.11 克隆存储库“TestRepo”。我已经按照Bonobo Git Server 站点上的说明以多种不同的形式进行操作。它们都不起作用。11.11.11.11机器上Bonobo中“TestRepo”的URL是http://localhost/Bonobo.Git.Server/TestRepo.git
这些是被扔回给我的尝试和错误消息:
git clone http://11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository 'http://11.11.11.11/Bonobo.Git.Server/TestRepo.git' not found
git clone http://WindowsUser@11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository '11.11.11.11/Bonobo.Git.Server/TestRepo.git' not found
git clone http://WindowsUser:WindowsPassword@11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository '11.11.11.11/Bonobo.Git.Server/TestRepo.git' not found
git clone http://admin@11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository '11.11.11.11/Bonobo.Git.Server/TestRepo.git' not found
git clone http://admin:admin@11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository '11.11.11.11/Bonobo.Git.Server/TestRepo.git' not found
以及没有 http 的类似变体:
git clone 11.11.11.11/Bonobo.Git.Server/TestRepo.git
fatal repository '11.11.11.11/Bonobo.Git.Server/TestRepo.git' does not exist
我检查了 App_Data 文件夹的权限,并且设置正确。其他一切看起来都很好。
如果有人对此有任何答案、线索或经验,将不胜感激!