Thursday, June 5, 2008

Linus Speaks on Git

I'm trying to use git these days for my development projects. I ran across it because I'm following the Shoes project from _why and he's moved to git.

I was a subversion fan most recently but I found it annoying that I can't check in code or do diffs when working in a disconnected mode. I try to check code in frequently since my code tends to veer off in wild tangents. It's nice to be able to easily scrap a tangent and go back to something that was working 15 minutes ago. For that to work, I need to check code in every 15 minutes or so. This is fine if you're working in an environment where you always have access to the source code repository. Unfortunately for me, I'm working in a world where I don't know if I will be able to access the Internet from moment to moment. You know, the joys of living in Vietnam. :-)

So with git it's possible to have a local version of the repository and then easily sync back up with another version somewhere else. Currently I have three repositories. One on a server in my San Carlos house, one on a machine hosted at Rackmounted, and another at github.

So for your viewing pleasure, here's a talk by Linus Torvalds on git.

[Note: I finally got around to watching the whole thing. It's pretty funny to see someone go to Google and call them stupid. Didn't realize Linus was so egotistical. Must have been a fun visit for everyone.]