Installing Git on CentOS [closed]
How install git on CentOS? I find this manual. Is it good?
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
cd /usr/local/src
wget http://kernel.org/pub/software/scm/git/git-1.7.5.tar.gz
tar xzvf git-1.7.5.tar.gz
cd git-1.7.5
make prefix=/usr/local all
make prefix=/usr/local install
Add the EPEL repository, then install it using yum.
yum install git-core
Note everyone: git comes in the stranded centos 6 repos but for 5 you will need EPEL or freshmeat etc or from source.