Skip to content

Instantly share code, notes, and snippets.

@L2G
Created September 29, 2012 04:58
Show Gist options
  • Save L2G/3803228 to your computer and use it in GitHub Desktop.
Save L2G/3803228 to your computer and use it in GitHub Desktop.
A little sugar I add to my user .gitconfig
[url "[email protected]:L2G/"]
insteadOf = "github:///L2G/"
insteadOf = "http://github.com/L2G/"
insteadOf = "https://github.com/L2G/"
[url "https://github.com/"]
insteadOf = "github:///"
insteadOf = "http://github.com/"
@L2G
Copy link
Author

L2G commented Sep 29, 2012

This lets me check out any GitHub repo with something like:

git clone github:///L2G/veewee

Note that it routes URLs for my own repos to pushable addresses, while others are routed to standard read-only URLs.

If you use this, of course you would need to substitute your own username for "L2G".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment