Guides: Get git on Mac
via the Installer
Download and install: git-osx-installer
via MacPorts
Get MacPorts
You won’t get far in your Mac Geekery without MacPorts
Get git via MacPorts
- Make sure your ports are up to date.
$ sudo port selfupdate
MacPorts base version 1.600 installed
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
- Install git
$ sudo port install git-core
---> Installing curl 7.18.2_0
---> Activating curl 7.18.2_0
---> Installing openssh 5.0p1_0+darwin_9
---> Activating openssh 5.0p1_0+darwin_9
---> Installing p5-error 0.17012_0
---> Activating p5-error 0.17012_0
---> Installing popt 1.13_0
---> Activating popt 1.13_0
---> Installing rsync 3.0.2_0
---> Activating rsync 3.0.2_0
---> Installing git-core 1.5.5.3_0+doc
---> Activating git-core 1.5.5.3_0+doc
You may want to include svn support if you want to import subversion repositories.
sudo port install git-core +svn
Manually compiling
See compiling git on os x leopard
Other Git related for Mac
Last edited by dbr, about 1 month ago
Versions:
