Posted on 2011-05-10 22:59
贝贝爸爸 阅读(478)
评论(0) 编辑 收藏
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
# wget http://kernel.org/pub/software/scm/git/git-1.7.5.tar.gz
# tar xvfz git-1.7.5.tar.gz
# cd git-1.7.5
# make prefix=/usr/local all
# make prefix=/usr/local install
[root@dev git-1.7.5]# whereis git
git: /usr/local/bin/git
[root@dev git-1.7.5]# git --version
git version 1.7.5