您当前的位置: 首页 >  git

水的精神

暂无认证

  • 2浏览

    0关注

    711博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Linux centos下三条命令安装升级git

水的精神 发布时间:2022-07-02 11:36:47 ,浏览量:2

我是在centos7下升级安装git的,centos7默认的1.8版本的

需要在有网的前提下安装!

需要联网!

1.查看git版本,卸载旧版本

git --version
yum remove git

2.安装git仓库

rpm -ivh http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm

3.安装新版本git

yum -y install git

 

关注
打赏
1664074814
查看更多评论
立即登录/注册

微信扫码登录

0.0426s