Centos7 git 升级

Centos7 自带的git版本太低了,无法搭建tfs 自动化部署

先卸载旧版本,然后下载新版本

1
2
3
4
5
6
7
8
9
10
11
#卸载旧版本git
yum remove git

#安装git仓库
rpm -ivh http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm

#安装新版本git
yum -y install git

#验证git 版本
git version
Author: xinker
Link: http://example.com/2023/03/11/Centos7 git 升级/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.