原本通过编译的形式安装git1.8版本,但是发现安装后组件不全
通过 git clone http:// xxxx 仓库报错e:
git fatal Unable to find remote helper for http
因此改为下载2.xx版本
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.13.0.tar.gz
tar -zxvf git-2.13.0.tar.gz
cd git-2.13.0
./configure
make
make install
安装后执行
git --version 查看版本
git version 2.13.0
在执行git clone http://xxxx 可以正常提示输入帐号密码
相关参考:
https://stackoverflow.com/questions/21820715/how-to-install-latest-version-of-git-on-centos-7-x-6-x
https://stackoverflow.com/questions/21820715/how-to-install-latest-version-of-git-on-centos-7-x-6-x
https://www.lwhweb.com/2017/10/15/linux-install-upgrade-git/
git仓库
https://mirrors.edge.kernel.org/pub/software/scm/git/
https://www.cnblogs.com/wowarsenal/p/4319002.html
https://stackoverflow.com/questions/8329485/unable-to-find-remote-helper-for-https-during-git-clone
网友评论