Skip to content

Instantly share code, notes, and snippets.

@PabloC
Created October 2, 2008 12:09
Show Gist options
  • Save PabloC/14341 to your computer and use it in GitHub Desktop.
Save PabloC/14341 to your computer and use it in GitHub Desktop.
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