Skip to content

Instantly share code, notes, and snippets.

@attilagyorffy
Created December 12, 2016 18:57
Show Gist options
  • Save attilagyorffy/285e65aa48e7793a7b663fb508d0a659 to your computer and use it in GitHub Desktop.
Save attilagyorffy/285e65aa48e7793a7b663fb508d0a659 to your computer and use it in GitHub Desktop.
Git URL shortcuts to github and heroku
# Allow cloning repositories using shortcuts.
# For example:
# git clone gh:attilagyorffy/foo
[url "[email protected]:"]
insteadOf = gh://
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[url "[email protected]:"]
insteadOf = "heroku:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment