Skip to content

Instantly share code, notes, and snippets.

@metavida
Forked from JulianRamirez/gist:a76e41c2691ee00f3851
Last active August 29, 2015 14:11
Show Gist options
  • Save metavida/f2357363776a3153ecd5 to your computer and use it in GitHub Desktop.
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 :-)
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