官方仓库Git版本为1.8。IUS仓库可以更新到2.2.4.

安装IUS-Release

yum install \
https://repo.ius.io/ius-release-el7.rpm \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

安装Git

yum remove git -y
yum install git224 -y
git --version
文章目录