Created
October 2, 2008 12:09
-
-
Save PabloC/14341 to your computer and use it in GitHub Desktop.
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
mkdir -p ~/Downloads/src | |
cd ~/Downloads/src | |
# Set options since we don't have GNU gettext installed | |
export TCL_PATH=`which tclsh` | |
export NO_MSGFMT=1 | |
export GIT_VERSION='1.6.0.2' | |
# Get and install git | |
curl -O "http://kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.bz2" | |
tar xjvf "git-$GIT_VERSION.tar.bz2" | |
cd "git-$GIT_VERSION/" | |
# When on Mac OS X | |
./configure | |
make | |
sudo make install | |
cd .. | |
# Install Man Pages | |
curl -O "http://kernel.org/pub/software/scm/git/git-manpages-$GIT_VERSION.tar.bz2" | |
sudo tar xjv -C /usr/local/share/man -f "git-manpages-$GIT_VERSION.tar.bz2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment