CentOS7 安装新版本 Git
1、查看当前版本,然后删除Git
git --version
yum remove git
2、安装依赖
yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc
yum install -y gcc perl-ExtUtils-MakeMaker
1、查看当前版本,然后删除Git
git --version
yum remove git
2、安装依赖
yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc
yum install -y gcc perl-ExtUtils-MakeMaker