Skip to content

Instantly share code, notes, and snippets.

@nguyendangminh
Last active September 8, 2018 09:51
Show Gist options
  • Save nguyendangminh/4d5782b74d343717445d4343b01048e5 to your computer and use it in GitHub Desktop.
Save nguyendangminh/4d5782b74d343717445d4343b01048e5 to your computer and use it in GitHub Desktop.
go get private repository
$ git config --global url."git@bitbucket.org:".insteadOf "https://bitbucket.org/"
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ git config --global url."git@gitlab.com:".insteadOf "https://gitlab.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment