fatal: Unable to find remote helper for 'https'

A common issue with git is when you try clone a project (nodejs in my case) appears this error:

git clone https://github.com/nodejs/node.git
Cloning into 'node'...
fatal: Unable to find remote helper for 'https'

I was reading different solutions, like replace https by git, but the errors is still here:

git clone git://github.com/nodejs/node.git
Cloning into 'node'...
fatal: unable to connect to github.com:
github.com[0: 192.30.253.113]: errno=Connection timed out

Other recurrent solution is to install openssl libraries for curl (to read https protocol):

sudo apt-get install libcurl4-openssl-dev

Now, you must install git again:

wget https://www.kernel.org/pub/software/scm/git/git-2.12.0.tar.gz
tar xvf git-2.12.0.tar.gz
cd git-2.12.0
 ./configure
make -j8
sudo make install

Enjoy it!

Comments

Popular posts from this blog

How to install Matlab without GUI

How to fix Android when developer options are not available for this user

Exception: Could not find a default OpenFlow controller in Mininet