Tom Morris

16 February 2008

A pungent mix of programming, philosophy, pedanticism, procrastination, perplexity, peripheral political polemic, and platters of preposterousness.

Git remote snippet

The other day I modified my Git setup for pulling in remotes. Before I was following the advice on this blog post about how to git pull in remotes, but after reading the manual decided that there is a better way:

mkdir Ruby\ on\ Rails.tmbundle
cd Ruby\ on\ Rails.tmbundle
git init
git remote add drnic git://github.com/drnic/ruby-on-rails-tmbundle.git
git fetch drnic
git checkout -b drnic/two_point_ooh

This code makes you a new folder and initialises a repository inside, then it adds a remote source, fetches the remote source’s full repository and then checks out (and in the process creates) a new branch for the remote. Then updating is as simple as using the git fetch command followed by either checking out or merging.

Git really is the source code management utility of winners. I’m using it for updating Rena, the Ruby RDF library.

Tags:

Newly released: RDF API for Drupal 6.0 based on ARC2.

Tags:

I don’t like the Guardian blog. It’s filled with crappy comments. But every so often the crappy comments fit perfectly with crappy content - in this case a dull post by a nineteen-year old who is writing about his trip to India. The comments piled on hard with accusations of nepotism, cliche and utter shiteness. The editors at the Graun had to remove a lot of comments for being too vitriolic and personal, and eventually responded in a blog post. More at Gawker and digital lifestyles.

Tags:

On a similarly snarky note, Stuff White People Like is fantastic. I particularly like the post on Natural Medicine, but that’s taken for granted.

Tags: