diff options
| author | tekkub <tekkub@gmail.com> | 2010-12-28 20:23:47 -0700 |
|---|---|---|
| committer | tekkub <tekkub@gmail.com> | 2010-12-28 20:23:47 -0700 |
| commit | 9c5fb8e63924b541548d1c9a3e7ddec16cf106ba (patch) | |
| tree | 34e69e187ccc41ca647317419010b3caecdaac81 /_posts/2009-06-14-mac-git-installation.markdown | |
| parent | ebe666b76e1a3f02959084954579d1d02dc5ead9 (diff) | |
Markdowny
Diffstat (limited to '_posts/2009-06-14-mac-git-installation.markdown')
| -rw-r--r-- | _posts/2009-06-14-mac-git-installation.markdown | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/_posts/2009-06-14-mac-git-installation.markdown b/_posts/2009-06-14-mac-git-installation.markdown new file mode 100644 index 0000000..04d7db8 --- /dev/null +++ b/_posts/2009-06-14-mac-git-installation.markdown @@ -0,0 +1,36 @@ +--- +layout: default +title: Installing git (OSX) +description: How to install git on OSX +categories: mac +main_category: setup +--- + +There are a number of methods to install git on OSX. This guide details the most common methods, in order of ease of install. + +After you have completed installation you will need to [generate an SSH keypair](/mac-key-setup) and [set your local git config](/git-email-settings). + +Pre-compiled Installer +---------------------- + +Download and run [git-osx-installer](http://code.google.com/p/git-osx-installer/) + +Homebrew +-------- + +1. Install "Homebrew":http://github.com/mxcl/homebrew if you haven't already done so. +2. 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=/usr/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% + /usr/local/Cellar/git/1.6.5.7: 383 files, 16M, built in 74 seconds + +Compiling git manually +---------------------- + +See [this guide](http://gist.github.com/423308). |
