Douglas Jarquin

Building Git on Mac OS X

2008 February 26th
Comments

You have surely heard of the latest thing to happen to version control. Git, written be Linux creator Linus Torvalds, is a popular version control system designed to handle very large projects with speed and efficiency. Installing Git on Mac OS X Leopard is actually pretty simple and blazingly fast. It installed so quickly I thought it was a mistake.

Prerequisites

  1. Mac OS X 10.5 Leopard (untested in Tiger)
  2. Xcode 3.0
  3. Terminal skills
# Set Options since we don't have GNU gettext installed
export TCL_PATH=/usr/bin/tclsh
export NO_MSGFMT=1

With those environment variables set we can move on to building Git.

# Get and Install Git
curl -O http://kernel.org/pub/software/scm/git/git-1.5.6.2.tar.bz2
tar xjvf git-1.5.6.2.tar.bz2
cd git-1.5.6.2/
./configure
make
sudo make install
cd

That’s it, enjoy.

Reference

Updates

July 9, 2008: Git binaries are now available from the official git-osx-installer Google Code project.

Filed under Tutorials
One comment to...
“Building Git on Mac OS X”
River

Awesome, thanks! This was really helpful. :)




(required)



(required) (Won't be displayed)


Your Comment:

Photostream
Foot ModelingHappy TimesOfficial Baby PictureEthan's First Yawn