centos7 更新git

1. 添加Wandisco GIT

sudo vim /etc/yum.repos.d/wandisco-git.repo

写入:

[wandisco-git]

name=Wandisco GIT Repository
baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
 
2.执行:
sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
 
3.执行:
yum install git
posted @ 2021-05-13 11:19  jernia  阅读(68)  评论(0编辑  收藏  举报