Photo-1 Photo-2 Photo-3 Photo-4 Photo-5 Photo-6

@brentmc79

@brentmc79

Full-time web developer. Part-time smart ass.

I'm Brent Collier.

After a year and a half as an engineer on Twitter's Trust & Safety team, I'm looking for my next gig. Contact me if you know of something interesting.

#

Git really 'gits' around...

Posted on 04/06/2008

I said 'gits' instead of 'gets'.  Get it?  Or should I say 'Git it'?  Ok, enough bad jokes...

If you're reading this, I'm sure you're aware of Git.  (Or you're a relative of mine, and you're still wondering what 'acts-as-blogr' means...)  If you're not, then climb out from under your rock, point your browser to the Git homepage, and start reading

Git is the latest trend in version control.  All the cool(aid) kids are drinking it, I mean using it.  Lately, it seems as though on every blog I read, and at every meet I attend, someone's preaching about Git.  See my little psuedo-rant here.  Since I'm not usually an early adopter, I usually wait a little while before picking up some new (or recently popular) technology.  Well, it looks like that time has come.

I started a new project last week and didn't like that my Subversion repo was on the same box as the app.  If something were to happen to that machine, I'd lose everything.  I looked around at several SVN hosting sites, but nothing really tickled my fancy.  I had a Github account which I hadn't taken advantage of yet, so I figured why not make the switch over to Git.

Funny thing was, just the day before I was bustin Brendan's balls for preaching about Git, telling him he was 'drinkin the kool-aid'.  To be honest though, I don't think anyone that does Rails development for a living can say anything about drinking the kool-aid.  Hell, we're swimming in it...

So, I've been using Git for a couple of days now and the transition hasn't been too painful.  I had a few small issues, like where I couldn't push to the master repo due to some config issue, and when I had forgotten to setup my public key on Github.  Aside from that, the only real trouble is getting used to the different terminology.

I definitely like the speed and ease in which you can create branches with Git.  I attempt a lot of different things with my blog, most of which never get deployed, and its nice to be able to easily create a branch and experiment without worrying about hosing the code in Trunk.

Anyway, enough about me...

Picture_2

So, I noticed that Heroku has added Git integration.  Check out the demo here.  I've played with Heroku for a while, and I must say that I really like it.  I do very little development via their interface, but its really nice to have a way to quickly deploy an app and have it publicly available with virtually no hassle involved.  Currently, Heroku acts as a staging server for a couple of personal projects that I'm working on.  If you haven't tried it out yet, you should definitely do so.

Picture_3

There's also Lighthouse, a ticket-tracking and project management app written in Rails. While it doesn't currently support Git integration, from what I hear, they're planning to with the 2.0 release.  I haven't used Lighthouse much yet, but I know of some projects that recently made the move from Unfuddle over to Lighthouse in anticipation of the Git integration.

It looks like Git is taking over, and for good reason.  So, if you're like me and you have some aversion to jumping on the bandwagon, then get over yourself and go give it a try.  You just might enjoy the ride...