更新 Git 2.x 版本
yum -y remove -y git
yum -y remove -y git-*
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
yum install -y git
Git默认开启了 SSL 证书验证功能,关闭 SSL 证书验证:
git config --global http.sslVerify false
yum -y remove -y git
yum -y remove -y git-*
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
yum install -y git
Git默认开启了 SSL 证书验证功能,关闭 SSL 证书验证:
git config --global http.sslVerify false