[Linux] Centos git error fatal:http request failed

Source: Internet
Author: User
Tags using git

    1. Using git pull, git push, git clone will report an error similar to the following:

      Error:the requested URL returned error:401 unauthorized while accessing https://git.oschina.net/zemo/demo.git/info/ Refsfatal:http request failed

      This is generally due to a git version issue.

      Use the following command to view the version:

      # git--versiongit version 1.7.0.1
      You can resolve the issue by installing a higher version.

      The highest version of Git should be 2.0.0.1 now.

    2. Fatal:unable to find remote helper for ' https '
The error is as above.is because GIT is requesting the network through curl. Double-check the findings.
<span style= "font-family:arial, Helvetica, Sans-serif;" >checking for Curl_global_init In-lcurl ... no</span>
Installing Curl and Curl-devel
Yum Install Curl Curl-devel

And then re-
#./configure#make#make Install

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.