centos 安装git2
删除旧版本
sudo yum remove git*
添加repo并安装
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpmsudo yum -y install git2u-all
搬运from
https://computingforgeeks.com/how-to-install-latest-version-of-git-git-2-x-on-centos-7/

浙公网安备 33010602011771号