Git config shortcuts for GitHub

Sam Elliott has posted some neat Git config tricks that allow some nice shortcuts for GitHub and Heroku:

This allows you to use shortcuts for cloning repositories:

$ git clone github:lenary/guides.git

and gists:

$ git clone gist:806037

I’m off to put these in my .gitconfig now.

Enjoy the article?

Get my future articles on front end development, automated testing and happy teams delivered straight to your inbox

Hate manual browser testing?

Want to test your website across different browsers and devices, but hate the slog of checking by hand after every change?

Get my step-by-step guide to automating cross-browser design testing.