Skip to content

Instantly share code, notes, and snippets.

@shanemhansen
Created September 18, 2014 14:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanemhansen/ddec33201742deb5d322 to your computer and use it in GitHub Desktop.
Save shanemhansen/ddec33201742deb5d322 to your computer and use it in GitHub Desktop.
Protip: Make go get work on github private repositories
# this makes go get github.com/foo/var work without
# monkeying with the credential cache or anything silly like that.
[url "git@github.com:"]
insteadOf = https://github.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment