Created
March 23, 2012 04:42
-
-
Save vishwassharma/2166861 to your computer and use it in GitHub Desktop.
Git configuration shortcuts for URL's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone github:lenary/guides.git | |
Cloning into guides... | |
remote: Counting objects: 255, done. | |
remote: Compressing objects: 100% (216/216), done. | |
remote: Total 255 (delta 111), reused 163 (delta 35) | |
Receiving objects: 100% (255/255), 1.49 MiB | 564 KiB/s, done. | |
Resolving deltas: 100% (111/111), done. | |
$ cd guides | |
$ git remote -v | |
origin git://github.com/lenary/guides.git (fetch) | |
origin [email protected]:lenary/guides.git (push) | |
$ cd .. | |
$ git clone gist:806037 | |
Cloning into 806037... | |
remote: Counting objects: 3, done. | |
remote: Compressing objects: 100% (2/2), done. | |
remote: Total 3 (delta 0), reused 0 (delta 0) | |
Receiving objects: 100% (3/3), done. | |
$ cd 806037 | |
$ git remote -v | |
origin git://gist.github.com/806037 (fetch) | |
origin [email protected]:806037 (push) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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