CentOS安装新版git

前端之家收集整理的这篇文章主要介绍了CentOS安装新版git前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

忘了从哪里弄来的,安装新版git的利器:

#安装Git
yum install -y epel-release
rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm
yum list git2u
yum install -y git2u
git --version

可以说是见到过的最简单的办法了

如果是CentOS7,记得更改rpm :

rpm -ivh https://centos7.iuscommunity.org/ius-release.rpm
原文链接:https://www.f2er.com/centos/378605.html

猜你在找的CentOS相关文章