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.

Revisions

  1. nguyendangminh revised this gist Sep 8, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion go_get_private_repository.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    $ git config --global url."[email protected]:".insteadOf "https://bitbucket.org/"
    $ git config --global url."[email protected]:".insteadOf "https://github.com/"
    $ git config --global url."[email protected]:".insteadOf "https://github.com/"
    $ git config --global url."[email protected]:".insteadOf "https://gitlab.com/"
  2. nguyendangminh created this gist Jun 3, 2017.
    2 changes: 2 additions & 0 deletions go_get_private_repository.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    $ git config --global url."[email protected]:".insteadOf "https://bitbucket.org/"
    $ git config --global url."[email protected]:".insteadOf "https://github.com/"