Log on to a remote Linux server, use Git, clone "fatal:unable to find remote helper for ' https '" wrong, no tube, bypass, use Git clone git://.... The agreement download down the project.
But until the submission to push back to the server, you have to use HTTPS, search the problem, is not curl in the system, are to install curl, such as:
Yum Install Curl-devel
or Apt-get, etc.
But what if the problem is that the remote server does not have sudo to root permissions?
To install curl yourself, download from http://curl.haxx.se/download.html to the latest Curl package:
Curl-7.41.0.tar.gz
Unzip, then make and install:
./configure--prefix=/home/{username}/curl/
Make
Make install
After installing, try git push again, or report the same error.
Think of the need to recompile and install Git to execute:
./configure--prefix=/home/{username}/git/--with-curl=/home/{username}/curl/
Note that it is important to use the--with-curl parameter to specify the Curl directory installed above, and git can only use HTTPS if it has a link to the Curl Library.
Make & make install again
git push succeeded.
Lessons learned from this problem solving:
In fact, it is used first when recompiling./configure--prefix=/home/{username}/git/before thinking, execution./configure--prefix=/home/{username}/git/& > config.log, redirect log to this file to open, search curl, found that the status of Curl is no, indicating that the configure did not find curl, then the natural back in make when the link can not be completed, and then./configure -H, see the--with-curl parameters, think of the need to specify, only to solve the problem.
Experience is the lesson is to meet the problem or to think about the principle, the Internet search articles are rooted under the premise of the system can be installed in the default location of the scheme, do not want the principle, in addition to observe the log, to help understand the problem.
Reference Link: Http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https
Remember once git fatal:unable to find remote helper for ' https ' problem resolution