Centos7 更新git
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc -y
yum install gcc perl-ExtUtils-MakeMaker -y
yum remove git
curl -O https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.29.3.tar.xz
tar -xvf git-2.29.3.tar.xz
cd git-2.29.3
make prefix=/usr/local/git all
make prefix=/usr/local/git install
至此安装完毕
本文来自博客园,作者:GreeneGe,转载请注明原文链接:https://www.cnblogs.com/greene/p/16297595.html