卸载git
yum -y remove git
下载安装文件
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
安装
yum -y install git
查看git版本
git --version
查看git安装位置 :
which git
卸载git
yum -y remove git
下载安装文件
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
安装
yum -y install git
查看git版本
git --version
查看git安装位置 :
which git