問題:
I am unable to clone HTTPS repositories.我無法克隆 HTTPS 存儲庫。 I can clone SSH repos fine, but not HTTPS repos.我可以很好地克隆 SSH 存儲庫,但不能克隆 HTTPS 存儲庫。 I cannot test the GIT protocol since I am behind a corporate firewall.我無法測試 GIT 協議,因爲我在公司防火牆後面。
This is what I am trying to do:這就是我想要做的:
$ git clone https://github.com/nvie/gitflow.git
Cloning into gitflow...
fatal: Unable to find remote helper for 'https'
I have so far tried the following (based on Google searches)到目前爲止,我已經嘗試了以下(基於 Google 搜索)
- Purging and installing Git through
apt-get
通過apt-get
清除和安裝 Git - Installing
build-deps
for Git throughapt-get
通過apt-get
爲 Git 安裝build-deps
- Installing curl dev libraries安裝 curl 開發庫
- Installing expat libraries安裝 expat 庫
- Downloading Git source and building using:下載 Git 源代碼並使用以下方法構建:
-
./configure --prefix=/usr --with-curl --with-expat
- Also tried pointing configure at curl binary (
./configure --prefix=/usr --with-curl=/usr/bin/curl
)還嘗試將配置指向 curl 二進制文件(./configure --prefix=/usr --with-curl=/usr/bin/curl
)
-
I have tried everything I can find on the internet with no luck.我已經嘗試了所有可以在互聯網上找到的東西,但都沒有運氣。 Can anyone help me?誰能幫我?
Git version = 1.7.6.4 Git 版本 = 1.7.6.4
OS = Ubuntu 11.04操作系統 = Ubuntu 11.04
解決方案:
參考一: https://stackoom.com/question/YwsX參考二: "Unable to find remote helper for 'https'" during git clone