-
-
Save SiZapPaaiGwat/81736a7acf6cff32c6ea1b6f5ca29cb2 to your computer and use it in GitHub Desktop.
Installing Git on CentOS 6.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum groupinstall "Development Tools" | |
yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel expat-devel curl-devel | |
yum install gcc perl-ExtUtils-MakeMaker | |
yum remove git | |
wget https://github.com/git/git/archive/v2.5.3.tar.gz -O git.tar.gz | |
tar -zxf git.tar.gz | |
cd git-2.5.3 | |
make configure | |
./configure --prefix=/usr/local | |
make install | |
git config --global user.name "Your Name" | |
git config --global user.email "you@example.com" | |
git config --global color.status "auto" | |
git config --global color.branch "auto" | |
git config --global color.interactive "auto" | |
git config --global color.diff "auto" | |
git config --list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment