handy.wang 发表于 2013-1-28 19:12:05

Installing git (OSX)

 
<div class="main">Installing git (OSX)

http://help.github.com/mac-git-installation/
<div class="wikistyle">There are a number of methods to install git on OSX.This guide details the most common methods.
Pre-compiled Installer

Download and run git-osx-installer
MacPorts


[*]Install MacPorts if you haven’t already done so.
[*]Make sure your ports are up to date.
[*]Install Git (You may want to include Subversion support if you want to import SVN repositories)
$ sudo port selfupdateMacPorts base version 1.600 installedDownloaded MacPorts base version 1.600The MacPorts installation is not outdated and so was not updatedselfupdate done!$ sudo port install git-core +svn--->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+docCompiling git manually

See compiling and installing git on mac os x.
页: [1]
查看完整版本: Installing git (OSX)