Skip to content

Instantly share code, notes, and snippets.

@killmenot
Forked from taoyuan/npm-using-https-for-git.sh
Created February 20, 2020 10:34
Show Gist options
  • Save killmenot/0ae46158584b85e11a20f5c0aae9fccd to your computer and use it in GitHub Desktop.
Save killmenot/0ae46158584b85e11a20f5c0aae9fccd to your computer and use it in GitHub Desktop.

Revisions

  1. @taoyuan taoyuan created this gist Feb 4, 2016.
    2 changes: 2 additions & 0 deletions npm-using-https-for-git.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    git config --global url."https://github.com/".insteadOf [email protected]:
    git config --global url."https://".insteadOf git://