安裝依賴包 git
yum -y install zlib-devel openssl-devel perl cpio expat-devel gettext-devel yum install autoconf
安裝Git shell
wget http://git-core.googlecode.com/files/git-1.8.3.2.tar.gz chmod +x git-1.8.3.2.tar.gz tar xzvf git-1.8.3.2.tar.gz cd git-1.8.3.2 autoconf ./configure --with-curl=/usr/local/git make make install ln -s /usr/local/git/bin/* /usr/bin/測試安裝結果
git --version