CentOS上安装GIT

字体大小: 中小 标准 ->行高大小: 标准

在Ubuntu上面安装GIT很简单,直接:

sudo apt-get install git

最近想在我的VPS上面安装GIT,可惜yum没有GIT源,网上搜了一下,把方法给大家说说。

rpm -Uvh http://repo.webtatic.com/yum/CentOS/5/latest.rpm
yum install --enablerepo=webtatic git-all

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/58033.html