Lol Github
I’ve never had much use for source control, but after that one thread broke /prog/scrape I realised it might be useful to have somewhere centralised to put the source code and recent diffs, instead of just having a possibly-up-to-date file hidden here somewhere and having people download that whenever their shit breaks without really knowing if I fixed it yet.
Github was an obvious choice, not least because bandwagons are awesome, but then I lost interest and forgot about it until now.
Incidentally, when you create a new repository on Github, it automatically generates a URL for you to push to, of the form git@github.com:username/projectname.git. The project name can’t have any characters outside [a-zA-Z0-9-], though, so when it does they’re replaced with dashes.
Whoever wrote that piece of code, though, forgot that project names apparently also can’t start with a dash, so when you try to push to it, it just gives you an unhelpful error message:
Invalid repository url. Make sure you include the .git, e.g. git@github.com:defunkt/ambition.git
And then it breaks the connection, which is particularly nice when your first experience with git involves pushing a project named -prog-scrape.
Anyway, easy enough to fix. I do like that it uses ssh, so I don’t have to type my password every time. I’ll probably be creating additional repos for my many, many other projects that people find useful.
Haxus the Lesser said,
August 13th, 2009 at 10:31 pm
I’ve been meaning to try out git hub for a long time. Shame I’m a lazy bastard and will finally get an account just as it’s dying.
Anonymous said,
August 14th, 2009 at 7:37 am
Look forward to the crowdsourced efforts of the social community to help you leverage and utilize best-practices 2.0. We should start with a suite of unit tests. Hit me up on Facebook to coordinate our efforts.
__________
Sent from my iPhone.
Anonymous said,
August 17th, 2009 at 12:25 pm
I think Randall reads your blog! He just made a comic about github!
Anonymous said,
August 19th, 2009 at 8:46 am
Real men use Mercurial.