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'
I have so far tried the following (based on Google searches)
- Purging and installing Git through
apt-get
- Installing
build-deps
for Git throughapt-get
- Installing curl dev libraries
- Installing expat libraries
- Downloading Git source and building using:
./configure --prefix=/usr --with-curl --with-expat
- Also tried pointing configure at curl binary (
./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
OS = Ubuntu 11.04
I had same problem and simple to resolve it.
Just uninstall git and re-install it.
and everything works well.
Hope this help.
Just in case someone encounters this on a QNAP system or any other system with OPKG as package manager:
You need to install git-http along with git. Like:
I used "
git://
" instead of "https://
" and that solved the problem. My final command was:On Mac OS X 10.9 Mavericks, the solution that worked is as follows
This is to compile Ruby with OpenSSL Support. Next, uninstall all the old versions.
Next, install the updated versions. The git installation is dependent on an updated version of CURL.
I got the same problem today: git http broken after years of happy service. It seems caused by some Perl lib updates. Tried some sane suggestions on web, none worked. Had enough, I just removed all git stuff, got a new tarball from http://git-scm.com/, compiled and installed, and all things are back to normal. Give it try, or you can go dig deep into your logs...
I got this error on Windows while using TortoiseGit. Reinstalling Git for Windows and telling TortoiseGit the path to git.exe by re-running the First Start Wizard fixed it.