缤纷多彩的植物信息世界

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

简单介绍一下如何在苹果机上使用项目管理系统github

首先安装git (OSX)

有许多在OSX上安装git的方法,这里介绍最简单的方法。

预编译的git可执行文件

下载并安装git-osx-installer

安装MacPorts

  1. 安装MacPorts
  2. 将MacPorts更新到最近的版本, 执行命令行:$ sudo port selfupdate
  3. 安装Git (You may want to include Subversion support if you want to import SVN repositories); 执行命令行:$ sudo port install git-core +svn
$ 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!

$ 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+doc

手工编译git

posted on 2009-09-05 21:25  虎克  阅读(538)  评论(0编辑  收藏  举报