在使用git时,出现“git: command not found”的情况,于是使用yum安装: # yum install -y git 转载于:https://www.cnblogs.com/Admpt/p/9527109.html