~ It's a long way from Amphioxus

Installing Git via Macports on Mac OSX

As I wrote more and more scripts for my work, it become difficult to keep tracking different version of my scripts for different specific tasks. Adopting a source control management (SCM) tool has been put on my agenda. An SCM tool will be even more useful if one is participating a collaborative code development project. There are many such tools available today: Subversions, Mercurial, Git, CVS, etc. I choose Git not only because it is a neat solution in terms of version control but also due to the popularity of Git-based online code development platform, GitHub.

Before we start to install Git, we should already have Apple’s Xcode and command line developer tools together with Macports installed on our mac. You can refer to here for the installation instruction of these prerequisites. Once Macports is installed, all the tools that we installed via Macports will be under the directory “/opt/local/bin/”.