Install git (client) and GitHub configuration on linux

When installing git on linix, it may appear: -bash: git: command not found error that command not found

 

Centos 7 64 bit:

Execute respectively:

wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

rpm -ivh epil-release-latest-7.noarch.rpm
Centos 6 32p:

get http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -ivh epel-release-6-8.noarch.rpm
Install command via git:

Yum install -y git
installation is complete to view:

git version
outputs the version number to indicate that the installation is successful

Guess you like

Origin blog.csdn.net/qq_17059903/article/details/104749315