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. 

