Created
February 13, 2016 20:33
-
-
Save opiuman/18419bb9e652ef10360c to your computer and use it in GitHub Desktop.
go get via ssh
This file contains hidden or 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 config --global url."[email protected]:".insteadOf "https://github.com/" | |
| $ cat ~/.gitconfig | |
| [url "[email protected]:"] | |
| insteadOf = https://github.com/ | |
| $ go get github.com/private/repo && echo Success! | |
| Success! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment