Push and delete remote git branches

This is easy to do, but I always forget how to do it, so this is more a reminder to myself than anything else. To create and checkout a branch in git : ...

March 17, 2010 · 1 min · Dave Perrett

Installing git-up on Ubuntu 8.10

Recently I had a bit of trouble getting {{ “github.com/aanand/git-up” | ext_link: “git-up”}} to work on Ubuntu (or anywhere else for that matter), so here’s some of the steps I had to go through. Initially ubuntu seems to have RubyGems 1.01 and 1.2.0 installed : > gem --version 1.2.0 >/usr/bin/gem1.8 --version 1.2.0 >/usr/bin/gem1.9 --version 1.0.1 ...

February 14, 2010 · 2 min · Dave Perrett

Updating RubyGems on Mac OS X 10.5 Leopard

I haven’t used ruby for a while, but recently wanted to try out {{ “github.com/aanand/git-up” | ext_link: “git-up”}} on OSX. According to the {{ “github.com/aanand/git-up/blob/master/README.md” | ext_link: “instructions”}}, a simple gem install git-up should work : > sudo gem install git-up Updating metadata for 1 gems from http://gems.rubyforge.org . complete ERROR: could not find git-up locally or in a repository I assume this is something to do with gem hosting moving to github or something… I haven’t really been following ruby for a year or so so I’m not sure exactly what’s going on. It seems i’m running a pretty old version of RubyGems, so I tried to update : ...

February 14, 2010 · 2 min · Dave Perrett

Rename authors in a git repository

I recently imported the old Clutch code into git , but for some reason it ignored the authors.txt file I provided, and used the original svn user names. This info is based largely on this stack overflow post . First, clone your repository locally : ...

April 29, 2009 · 2 min · Dave Perrett