Created
December 31, 2011 18:16
-
-
Save matthewmccullough/1544821 to your computer and use it in GitHub Desktop.
Alternate URLs (insteadOfs) for GitHub Git repos
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 = "ghg://" | |
pushInsteadOf = "ghg://" | |
# Example: git clone ghg://ntschutta/emacs | |
[url "git://github.com/matthewmccullough/"] | |
insteadOf = "ghgm://" | |
pushInsteadOf = "ghgm://" | |
# Example: git clone ghgm://hellogitworld | |
[url "[email protected]:"] | |
insteadOf = "ghs://" | |
pushInsteadOf = "ghs://" | |
[url "[email protected]:matthewmccullough/"] | |
insteadOf = "ghsm://" | |
pushInsteadOf = "ghsm://" | |
[url "https://github.com/"] | |
insteadOf = "ghh://" | |
pushInsteadOf = "ghh://" | |
[url "https://github.com/matthewmccullough/"] | |
insteadOf = "ghhm://" | |
pushInsteadOf = "ghhm://" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put this in your ~/.gitconfig file or in a project's .git/config file for easier use of GitHub. Just use gig:// or any of the other short hands instead of the full URLs.