通过yum安装高版本git

问题描述

直接使用yum install -y git,安装的 git 版本会比较老。

对此,官方文档说明如下,

Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.
RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.

查看更多