Alex headshot

AlBlue’s Blog

Macs, Modularity and More

Git whilst disconnected


I've been using Git (and helping out on the EGit project) for a while, and once you've gone Git, it's really difficult to go back.

I often find that when I'm working on the train, using Git to work in a semi-disconnected mode helps – although the train has WiFi on board, it's not particularly consistent, and I can periodically get connectivity drops. Using Git (or any other DVCS) means that all my work can be done on a local image, and that I don't need to worry about whether I'm connected or not.

This week, I downloaded the WWDC 2010 videos as well as putting together and uploading (and downloading) the vimeo EGit screencast. Unfortunately, this meant that I had blown through my monthly bandwidth quota without realising, and as a result, my net connectivity had been suspended until the end of the month.

Fortunately, none of that changed my ability to work with my Git repositories; I'm still able to commit into them, knowing that when I am back and connected again, I'll be able to upload the changes to the review system and keep going as if nothing had happened.

I wonder how long it will be until every project at Eclipse is on Git...