我正在尝试在 Windows 上克隆一个 github 项目。我在防火墙后面,所以无法使用 ssh。跑步:
git clone https://github.com/user/project.git
正在返回https://github.com/user/project.git not found: did you run git update-server-info on the server?
由于这不是我的项目,有没有办法解决这个问题?
EDIT:
我试图克隆的项目是:
https://github.com/mitsuhiko/jinja2.git
编辑:对不起,人们 - 是一个错字。 Windows 上的 Git Bash 不允许复制粘贴,我错过了一封信。
一个常见的原因是这种情况(或者,在这种情况下,根据OP定向位 https://stackoverflow.com/users/167516/directedbit, 一个简单的typo) .
GitHub 存储库 URL 区分大小写,如“中所述为什么 Github 项目文档页面 URL 区分大小写?有哪些负面影响? https://stackoverflow.com/questions/6650488/why-are-github-project-document-page-urls-case-sensitive-what-are-the-negative/6650592#6650592".
请参阅此示例GitHub 存储库问题 https://github.com/KnpLabs/KnpMenuBundle/issues/87:
我遇到了同样的问题,但解决方法非常简单。
缺乏资本KnpLabs
在 URL 中,因此请使用以下内容。
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git
[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=bundles/Knp/Bundle/MenuBundle
=> 更新您的网址
knplabs/KnpMenuBundle.git
to
KnpLabs/KnpMenuBundle.git
(大小写变化)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)