1.查看系统是否已经安装git

1
git --version

CentOS7 yum 安装git

2.CentOS7 yum 安装git

1
yum install -y git

 CentOS7 yum 安装git

3.安装成功

CentOS7 yum 安装git

4.卸载git

1
yum remove git


转载之处:https://www.cnblogs.com/liaojie970/p/6253404.html

相关文章:

  • 2021-11-06
  • 2021-09-14
  • 2021-11-19
  • 2022-12-23
  • 2021-08-26
猜你喜欢
  • 2021-06-05
相关资源
相似解决方案