summaryrefslogtreecommitdiff
path: root/_posts/2009-06-14-mac-git-installation.textile
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2009-06-14-mac-git-installation.textile')
-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.