Skip to content

Instantly share code, notes, and snippets.

View Janvierjavi's full-sized avatar
🎯
Focusing

Janvier Mutuyimana Janvierjavi

🎯
Focusing
View GitHub Profile
@Janvierjavi
Janvierjavi / npm-using-https-for-git.sh
Created June 6, 2020 10:27 — forked from taoyuan/npm-using-https-for-git.sh
Force git to use https:// instead of git://
# npm using https for git
git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git://
# npm using git for https
git config --global url."[email protected]:".insteadOf https://github.com/
git config --global url."git://".insteadOf https://