summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Pilkington <kieran@katipo.co.nz>2009-12-21 14:16:37 +1300
committerKieran Pilkington <kieran@katipo.co.nz>2009-12-21 14:16:37 +1300
commit783e7e4d54134684427f09392949639bae2677cc (patch)
tree02b34850dc1a37d81bd3ef5d854d9c531ae2b4a5
parent1234aa88e0c944f677d88f89614527c65a03fc79 (diff)
Adding Homebrew as second choice for Git installation.
-rw-r--r--_posts/2009-06-14-mac-git-installation.textile17
1 files changed, 16 insertions, 1 deletions
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)_
+
+<pre class="terminal">$ 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
+</pre>
+
h2. MacPorts
# Install "MacPorts":http://macports.org/install.php if you haven't already done so.