Access private repositories in Go
16 Jun 2020 by Friedrich EwaldGood article how to access a private repository via go get
.
TLDR:
For SSH access:
$ git config --global url."[email protected]:".insteadOf "https://gitlab.com/"
$ cat ~/.gitconfig
[url "[email protected]:"]
insteadOf = https://gitlab.com/
I am Friedrich "Freddy" Ewald, software engineer living in the Bay Area in California.