Skip to content

Instantly share code, notes, and snippets.

@mtsd
Created October 30, 2011 14:33
Show Gist options
  • Select an option

  • Save mtsd/1325963 to your computer and use it in GitHub Desktop.

Select an option

Save mtsd/1325963 to your computer and use it in GitHub Desktop.
install Homebrew and git
########################################################################
# https://github.com/mxcl/homebrew/wiki/Installation
########################################################################
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
$ brew install git
==> Downloading http://git-core.googlecode.com/files/git-1.7.7.4.tar.gz
######################################################################## 100.0%
==> make prefix=/usr/local/Cellar/git/1.7.7.4 install
==> Downloading http://git-core.googlecode.com/files/git-manpages-1.7.7.4.tar.gz
######################################################################## 100.0%
==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.7.7.4.tar.gz
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
Emacs support has been installed to:
/usr/local/share/doc/git-core/contrib/emacs
The rest of the "contrib" is installed to:
/usr/local/share/git/contrib
==> Summary
/usr/local/Cellar/git/1.7.7.4: 1103 files, 21M, built in 43 seconds
$ ln -s /usr/local/etc/bash_completion.d/git-completion.bash git-completion.bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment