Resolve git clone error fatal: http request failed

problem background:

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

problem phenomenon:

error after execution:

1. error while processing: https://github.com/VundleVim/Vundle.vim.git/info/refs

2. fatal: HTTP request failed

problem search:

your browser requests directly https://github.com/VundleVim/Vundle.vim.git/info/refs, the browser returns:

 
  1. Please upgrade your git client.
  2. GitHub.com no longer supports git over dumb-http: https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days

problem cause:

To sum up, it is because git version is too low that

is caused

problem solved:

upgrade git client version

 
  1. yum安装curl
  2. yum安装curl-devel
  3. yum安装zlib-devel
  4. yum安装openssl-devel
  5. 0

  6. 1 yum安装cpio
  7. 3 yum安装expout -devel

    4

  8. 5 yum安装gettext-devel
  9. 6

    7

     
    1. wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz
    2. xz -d git-latest.tar.xz
    3. tar xvf git-latest.tar
    4. cd git-xxxx-xx-xx
    5. autoconf
    6. ./configure
    7. make && make install

Read More: