曾经被和谐的网址又可以用了:http://code.google.com/p/git-osx-installer/
下载最新的git的img文件,大概16MB。
解压缩后,按照readme.txt中的步骤进行。
执行完前两步就ok了
Step 1 - Install Package
------------------------
Double-click the package in this disk image to install. This installs
git to /usr/local/git. Root access is required.
Step 2 - Restart bash sessions
------------------------------
This include GNU screen sessions, TMUX sessions, etc. If you wish to preserve your precious screen session, just `source /etc/profile` and yo
完事后用git --version查看一下:
git version 1.7.9.6 (Apple Git-31.1)
说明ok了