From 783e7e4d54134684427f09392949639bae2677cc Mon Sep 17 00:00:00 2001 From: Kieran Pilkington Date: Mon, 21 Dec 2009 14:16:37 +1300 Subject: Adding Homebrew as second choice for Git installation. --- _posts/2009-06-14-mac-git-installation.textile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to '_posts') diff --git a/_posts/2009-06-14-mac-git-installation.textile b/_posts/2009-06-14-mac-git-installation.textile index 93627f9..01ce73b 100644 --- a/_posts/2009-06-14-mac-git-installation.textile +++ b/_posts/2009-06-14-mac-git-installation.textile @@ -6,12 +6,27 @@ categories: mac setup main_category: setup --- -There are a number of methods to install git on OSX. This guide details the most common methods. +There are a number of methods to install git on OSX. This guide details the most common methods, in order of ease of install. h2. Pre-compiled Installer Download and run "git-osx-installer":http://code.google.com/p/git-osx-installer/ +h2. Homebrew + +# Install "Homebrew":http://github.com/mxcl/homebrew if you haven't already done so. +# Install Git _(You may want to include Subversion support if you want to import SVN repositories. Snow Leopard already contains a copy of SVN)_ + +
$ brew install git
+==> Downloading http://kernel.org/pub/software/scm/git/git-1.6.5.7.tar.bz2
+######################################################################## 100.0%
+==> ./configure --prefix=/opt/local/Cellar/git/1.6.5.7
+==> make install
+==> Downloading http://kernel.org/pub/software/scm/git/git-manpages-1.6.5.7.tar.bz2
+######################################################################## 100.0%
+/opt/local/Cellar/git/1.6.5.7: 383 files, 16M, built in 74 seconds
+
+ h2. MacPorts # Install "MacPorts":http://macports.org/install.php if you haven't already done so. -- cgit v1.3.1