-
-
Save svasek/1a28295929370c78307ae27a291424f7 to your computer and use it in GitHub Desktop.
Revisions
-
Kovrinic revised this gist
Apr 11, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,4 @@ git config --global url."https://github".insteadOf git://github ``` --- **sauce:** _https://gist.github.com/grawity/4392747_ & [@hansdg1](https://github.com/hansdg1) -
Kovrinic revised this gist
Apr 11, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,4 @@ git config --global url."https://github".insteadOf git://github ``` --- **sauce:** _https://gist.github.com/grawity/4392747_ & @hansdg1 -
Kovrinic revised this gist
Apr 11, 2017 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # one or the other, NOT both [url "https://github"] insteadOf = git://github # or [url "[email protected]:"] insteadOf = git://github -
Kovrinic revised this gist
Apr 11, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ ### Replace `git://` with `https://` Rewrite any `git://` urls to be `https://` but, it won't touch `ssh`urls (`[email protected]:`) ```sh git config --global url."https://github".insteadOf git://github ``` ### or replace with `ssh` Use `ssh` instead of `https://` ```sh -
Kovrinic created this gist
Apr 11, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ### replace git with https Rewrite any `git://` urls to be `https://` but, it won't touch `ssh`urls (`[email protected]:`) ```sh git config --global url."https://github".insteadOf git://github ``` ### or replace with ssh Use `ssh` instead of `https://` ```sh git config --global url."[email protected]:".insteadOf "https://github.com/" ``` --- **sauce:** _https://gist.github.com/grawity/4392747_