Posts Tagged ‘github’

git notes

Saturday, June 7th, 2008

I am trying to get started with git because that is what all of the cool kids are using these days. Getting git on my laptop using darwin ports was kinda weird. I am running Mac OS X (10.5.3).

First, you need to know the name of the package, and second, if you want to use import some svn repositories, then you have to add in that capability. Here is the command that I ran to install git on my machine. (Of course, darwin ports is already installed)

sudo ports install git-core +svn

I was concerned that it was going to replace the system ssh daemon, but don’t fear. It will not replace the system sshd. It prints out a message to tell you how you can replace it if you want, but it will not replace it.

Find my projects on github.

On another note, I find that I have some issues with darwin ports sometime. If I am installing something that has a lot of dependencies, I find that the build just stops working. For example, as I am installing git-core +svn my build failed on (sqlite3)[http://www.sqlite.org/]. I found that if I clean the project that failed, and build it by itself, it will build successfully, and you can move on. Here are my commands to solve this problem:

sudo port clean sqlite3

sudo port install sqlite3

sudo port install git-core +svn