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.

Join my daily mailing list

I write about front-end engineering leadership every weekday.

Sign up now and get my Front-End Engineering Responsibilities Laundry List PDF for free.

You'll get regular emails about front-end development. Unsubscribe at any time.

Share this article