Wednesday, December 8, 2010

git broken after snow leopard upgrade

I was trying to check in some code after upgrading my MacBook Pro to Snow Leopard and realized git wasn't working.

Here's how I fixed it:


  1. Download MacPorts for Snow Leopard and install it.
  2. Use MacPorts to install it

    $ sudo port selfupdate
    $ sudo port install git-core +svn


For more installing git on OSX see http://help.github.com/mac-git-installation/