暗中观察

CentOS 安装 Git
安装最新版git1.卸载旧版本 yum remove -y git 2.安装release源 yum instal...
扫描右侧二维码阅读全文
11
2018/08

CentOS 安装 Git

安装最新版git

1.卸载旧版本

 yum remove -y git

2.安装release源

 yum install -y epel-release
 #rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm
 rpm -ivh https://centos7.iuscommunity.org/ius-release.rpm

3.yum 安装最新版

 yum list git2u
 yum install -y git2u
 git --version

ps 方式2

sudo yum -y install install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
sudo yum install git

ps: 学习文档
https://gitee.com/all-about-git

Last modification:April 18th, 2022 at 09:29 am
If you think my article is useful to you, please feel free to appreciate

One comment

  1. May

    腻害腻害

Leave a Comment