Tinned Fruit

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?

Subscribe to get my latest writing about front end engineering practices, happy web teams, and other free stuff not available on the site.

Jim Newbery

No spam ever. Unsubscribe any time.

Share this article