December 2009
3 posts
Tracking a remote fork locally with Git
git add remote SomeRemote git://github.com/SomeRemote/some-project.git
git fetch SomeRemote
git branch --track SomeRemote SomeRemote/master
git checkout SomeRemote
Now you’ve got a local branch (named after the user who created it) that is tracking changes to that repo. Meaning if you git pull in there, you’ll get their latest changes. If you’ve got someone you frequently...
First, you need to include the library and create a new instance using the new2...
– according to this Ruby tutorial slideshow transcription, these are the basic differences between new, new2, and new3 constructors for xmlrpc. Can I take a moment to salute the careful consideration that was given to these names? [1]
[1] Yes, I am using my middle finger here.
if ENV[‘RAILS_ENV’] == ‘production’
ENV[‘GEM_PATH’] =...
– RubyGem version error: rack(0.3.0 not ~> 1.0.0) » 42