Install the latest version of Git under Centos

git is a distributed version control system

 

There are several ways we can install GIT on Centos. Here we use the simplest yum command method in one step, saving the tedious process of downloading, compiling and installing.

 

input the command:

yum install -y git

QQ 鎴浘20171125143749.jpg

 

verify:

git --version

QQ 鎴浘20171125143900.jpg

 

Uninstall command:

yum remove git

Guess you like

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