为什么git克隆在使用HTTPS时失败,但在使用git协议时成功

为什么git克隆在使用HTTPS时失败,但在使用git协议时成功,git,Git,我在linux命令行中使用git客户端,而不使用任何http代理来克隆https://git.gnome.org/m4-common/但获取失败: % git clone https://git.gnome.org/m4-common/ Cloning into 'm4-common'... fatal: repository 'https://git.gnome.org/m4-common/' not found git://git.gnome.org/m4-common/ % git cl

我在linux命令行中使用git客户端,而不使用任何http代理来克隆
https://git.gnome.org/m4-common/
但获取失败:

% git clone https://git.gnome.org/m4-common/
Cloning into 'm4-common'...
fatal: repository 'https://git.gnome.org/m4-common/' not found
git://git.gnome.org/m4-common/

% git clone git://git.gnome.org/m4-common/
...
Checking connectivity... done.
链接位于:

从:

对于Git 1.6.6和更新版本,http也是可能的(不过请使用Git协议!):

git克隆

因此,我认为您需要Git版本
1.6.6
或更高版本。此外,您似乎应该使用
http
,而不是
https

git://git.gnome.org/m4-common
https://git.gnome.org/browse/m4-common