When Git tells you it failed to push some refs

I received an unhelpful error while trying to push to a repository on Github today:

Git clone vs Git submodule

Having recently made the switch from svn to git, I wanted to achieve what svn externals did (and what Piston did better). Turns out this is pretty simple, for example to get rails on edge:

%d bloggers like this: