1. 安装 git# 检查是否安装 git
[root@node1 ~]# git --help
-bash: git: 未找到命令
# 如果没有安装 git 则需要先安装git
[root@node1 ~]# yum install g
2021-02-24