Created
February 18, 2011 01:21
-
-
Save lenary/833086 to your computer and use it in GitHub Desktop.
a special excerpt of my gitconfig
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 git@github.com: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 git@gist.github.com: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 "git@github.com:"] | |
insteadOf = "gh:" | |
pushInsteadOf = "github:" | |
pushInsteadOf = "git://github.com/" | |
[url "git://github.com/"] | |
insteadOf = "github:" | |
[url "git@gist.github.com:"] | |
insteadOf = "gst:" | |
pushInsteadOf = "gist:" | |
pushInsteadOf = "git://gist.github.com/" | |
[url "git://gist.github.com/"] | |
insteadOf = "gist:" | |
[url "git@heroku.com:"] | |
insteadOf = "heroku:" |
This looks pretty useful. Cheers!
nice!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I love you