git clone 报错 Unable to find remote helper for ‘http’

git clone 报错 Unable to find remote helper for 'http'

解决方法:

  1. yum install libcurl-devel curl-devel
  2. 重新执行git安装
    • ./configure
    • make && make install
  3. 安装结束后,可正常 git clone