Open ucan-lab opened 6 years ago
# git --version git version 1.8.3.1
# yum -y remove git # yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker # GITVERSION="2.15.0" && wget https://www.kernel.org/pub/software/scm/git/git-$GITVERSION.tar.gz && tar -zxf git-$GITVERSION.tar.gz && cd git-$GITVERSION && make prefix=/usr/local all && make prefix=/usr/local install && cd ../ && rm -rf git-$GITVERSION* && unset GITVERSION
# yum -y remove git # yum -y install https://centos7.iuscommunity.org/ius-release.rpm # yum -y install git2u yum-utils # yum-config-manager --disable ius # git --version git version 2.15.0
default
source install
yum install