1. 环境
centos: 7.5 (64)
git:1.8.3
2. 步骤
Set1:查看已有GIT版本
# git --version
-bash: git: command not found
Set2:查看yum源中的版本
# yum info git
版本符合,直接安装
Set3:yum 安装
# yum install git
安装完成。
1. 环境
centos: 7.5 (64)
git:1.8.3
2. 步骤
Set1:查看已有GIT版本
# git --version
-bash: git: command not found
Set2:查看yum源中的版本
# yum info git
版本符合,直接安装
Set3:yum 安装
# yum install git
安装完成。