I am unable to clone HTTPS repositories. I can clone SSH repos fine, but not HTTPS repos. I cannot test the GIT protocol since I am behind a corporate firewall.
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'
./configure --prefix=/usr --with-curl --with-expat
./configure --prefix=/usr --with-curl=/usr/bin/curl
It looks like not having (lib)curl-devel installed when you compile git can cause this.
If you install (lib)curl-devel, and then rebuild/install git, this should solve the problem:
$ yum install curl-devel $ # cd to wherever the source for git is $ cd /usr/local/src/git-1.7.9 $ ./configure $ make $ make install
This worked for me on Centos 6.3.
If you don't have yum, you can download the source to curl-devel here:
If you are running Ubuntu instead:
sudo apt-get install libcurl4-openssl-dev