准备在github上练习了,首先安装git

环境为 centos 5.8,server端的包全部装上。

因为yum源没有git的包,所以源码安装之。

下载源码:wget http://git-core.googlecode.com/files/git-1.7.9.tar.gz

解压然后cd

编译安装:./configure,make,make install

一路畅通

git --version
git version 1.7.9

猜你喜欢

转载自damacheng009.iteye.com/blog/1706391