Last active
January 4, 2019 13:04
-
-
Save patricmutwiri/c88adce0fa47f7ee68d41b53342e0b5d to your computer and use it in GitHub Desktop.
GIT v2.*
This file contains hidden or 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
## Git install to 2.* cent os | |
sudo yum groupinstall "Development Tools" | |
sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel | |
# select your release from github | |
wget https://github.com/git/git/archive/v2.1.2.tar.gz -O git.tar.gz | |
# as per Jan 4th 2019 | |
wget https://github.com/git/git/archive/v2.20.1.tar.gz -O git.tar.gz | |
tar -zxf git.tar.gz | |
cd git-* | |
make configure | |
./configure --prefix=/usr/local | |
sudo make install | |
git config --global user.name "Your Name" | |
git config --global user.email "[email protected]" | |
git config --list | |
user.name=Your Name | |
[email protected] | |
# source | |
>> source: https://www.digitalocean.com/community/tutorials/how-to-install-git-on-centos-7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment