Whats so good about git with svn

18 05 2008

This should be whats so good about git, but Sakai has SVN as its central repo…. so whats so good about git-svn ?

  • I am not forced to commit when I restructure, so when I go out of network range I am not forced to stop 2 minutes after the network is gone.
  • I can run multiple branches in the same code base, a quick git commit -a, git checkout otherbranch changes the active files on disk
  • I dont have to persuade anyone to change the central repo, if there is one
  • I can batch up all my svn commits into a single big block, and make a decision to commit when I am done

Ok the sync takes a while for a very large repo, like the whole of sakai, but once synced everything becomes much easier. And you will notice the I,I,I above, thats because its distributed so it doesn’t effect you 🙂 (unless you want to use it). All of this goes for others like Hg.

I am only wondering why I didnt use it earlier…. lots of people said it was a good idea. Lesson there, listen more, think less.





Installing git on OSX Tiger to work with SVN.

7 05 2008

First off, no dmg available for Tiger, so you need to build from source.

Building Git from source is easy on OSX, just download one of the tarballs from linux.org, configure make install, but getting it to work with SVN is not quite so easy because by default it binds to the OSX perl which may or may not have Alien::SVN

MacPorts appears to work: sudo port install git-core +svn