简体   繁体   中英

How do I update Git on Mac OS Lion, if the original version has been installed by XCode 4.1

I would like to update git on my XCode 4.1 development system. It got initially installed by installing XCode 4.1. Do I use RVM or MacPorts? I also would like to add some features like SVN integration to the current installation.

MacPorts is a whole package managing system, just like Debians dpkg packages.

To install it using Macports you only have to run the Macports installer and then install git via

sudo port install git-core +svn

This will install git with the mentioned svn integration (Bi-directional subversion repository support).

If you do not want to use Macports there are the following alternatives:

  • Homebrew
  • Fink

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM