Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
github http clone返回“您是否在服务器上运行了git update服务器信息”_Git_Github - Fatal编程技术网

github http clone返回“您是否在服务器上运行了git update服务器信息”

github http clone返回“您是否在服务器上运行了git update服务器信息”,git,github,Git,Github,我正在尝试在windows上克隆github项目。我在防火墙后面,所以不能使用ssh。运行: git clone https://github.com/user/project.git 他回来了https://github.com/user/project.git 未找到:是否在服务器上运行git update server info 因为这不是我的项目,有没有办法解决这个问题 编辑: 我正在尝试克隆的项目是: https://github.com/mitsuhiko/jinja2.git

我正在尝试在windows上克隆github项目。我在防火墙后面,所以不能使用ssh。运行:

 git clone https://github.com/user/project.git
他回来了https://github.com/user/project.git 未找到:是否在服务器上运行git update server info

因为这不是我的项目,有没有办法解决这个问题

编辑:

我正在尝试克隆的项目是:

 https://github.com/mitsuhiko/jinja2.git
编辑:
对不起,人们-是一个打字机。windows上的Git Bash不允许您复制粘贴,我错过了一封信

一个常见的原因是这种情况,或者,在这种情况下,根据《圣经》,是一个简单的打字错误。 GitHub repo url区分大小写,如中所述

如图所示:

我也有同样的问题,但解决方法非常简单。 URL中的KNPLAB缺乏资本化,因此请使用以下内容

=>从更新您的URL knplabs/KnpMenuBundle.git至 KnpLabs/KnpMenuBundle.git案例变更


谢谢-来自github的URL都区分大小写,所以我不确定这是否是导致它的原因。编辑问题。道歉。这是一个类型-windows上的Git Bash不允许我粘贴。@directedbit没问题。我已经在答案中包含了您的结论,以获得更高的可视性Git bash有一种复制和粘贴的方法,但这并不容易理解。只需用鼠标右键单击标题栏,即包括x在内的3个按钮所在的标题栏。然后,在菜单中,选择编辑,然后选择标记,您应该知道其余的。。。。
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git

[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=bundles/Knp/Bundle/MenuBundle