Skip to content

Instantly share code, notes, and snippets.

@morika-t
Forked from dmitshur/gist:6927554
Last active August 29, 2015 14:14
Show Gist options
  • Save morika-t/00420ee904a9e8582b8f to your computer and use it in GitHub Desktop.
Save morika-t/00420ee904a9e8582b8f to your computer and use it in GitHub Desktop.
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
	insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!

Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment