centOs update git

http://stackoverflow.com/questions/21820715/how-to-install-latest-version-of-git-on-centos-6-x-7-x


You can use WANDisco's CentOS repository to install Git 2.x.

Install WANDisco repo package:
yum install http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm

Install the latest version of Git 2.x:
yum install git

Verify the version of Git that was installed:
git --version

As of 2016-07-01, the latest available version from WANDisco is 2.8.0.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326146970&siteId=291194637