Forked from JulianRamirez/gist:a76e41c2691ee00f3851
Last active
August 29, 2015 14:11
-
-
Save metavida/f2357363776a3153ecd5 to your computer and use it in GitHub Desktop.
Remove pgp checks (since many folks don't have it by default) and remove silly whitespace :-)
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
cd /tmp | |
curl -o git-2.2.1.tar.gz "https://www.kernel.org/pub/software/scm/git/git-2.2.1.tar.gz" | |
curl -o git-2.2.1.tar.sign "https://www.kernel.org/pub/software/scm/git/git-2.2.1.tar.sign" | |
tar zxvf git-2.2.1.tar.gz | |
cd git-2.2.1 | |
./configure | |
make | |
sudo make install | |
# this should install git at /usr/local/bin/git | |
sudo mv /usr/bin/git /usr/bin/git-old | |
sudo ln -s /usr/local/bin/git /usr/bin/git | |
git --version | |
# > git version 2.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment