我无法克隆HTTPS存储库。我可以克隆SSH回购很好,但不是HTTPS回购。我无法测试GIT协议,因为我位于公司防火墙后面。
这就是我要做的:
$ git clone https://github.com/nvie/gitflow.git
Cloning into gitflow...
fatal: Unable to find remote helper for 'https'
到目前为止,我尝试了以下(基于谷歌搜索)
通过apt-get清洗和安装Git
通过apt-get为Git安装build-deps
安装curl开发库
安装外派库
下载Git源代码并使用以下方法构建:
./configure——prefix=/usr——with-curl——with-expat
还尝试在curl binary(。——prefix=/usr——with-curl=/usr/bin/curl)
我已经试遍了我在网上能找到的所有东西,但都没有成功。有人能帮帮我吗?
转到版本 = 1.7.6.4
操作系统 = Ubuntu 11.04
我不得不添加了几个额外的安装,运行CentOS 5.10版本(Final):
yum install openssl097a.x86_64
yum install openssl-perl.x86_64
使用git-1.8.5:
. / configure
使清洁
使
制作安装
git clone https://github.com/michaelficarra/CoffeeScriptRedux.git
Cloning into 'CoffeeScriptRedux'...
remote: Reusing existing pack: 4577, done.
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 4601 (delta 13), reused 11 (delta 1)
Receiving objects: 100% (4601/4601), 2.60 MiB | 126.00 KiB/s, done.
Resolving deltas: 100% (2654/2654), done.
Checking connectivity... done.
如果你试图克隆,那么你可以使用git传输
例如:git克隆git://github.com/fog/fog.git
Vaio ~/Myworks/Hero $ git clone git://github.com/fog/fog.git
Initialized empty Git repository in /home/nthillaiarasu/Myworks/Hero/fog/.git/
remote: Counting objects: 41138, done.
remote: Compressing objects: 100% (13176/13176), done.
remote: Total 41138 (delta 27218), reused 40493 (delta 26708)
Receiving objects: 100% (41138/41138), 5.22 MiB | 58 KiB/s, done.
Resolving deltas: 100% (27218/27218), done