yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.13.6.tar.gz
tar -zxf git-2.13.6.tar.gz
cd git-2.13.6
make prefix=/usr/local all
sudo make prefix=/usr/local install
网友评论