Friday, August 18, 2017

Connection timeout when cloning git repo from Github

Git uses port 9418 to communicate on and it's often not open on a corporate or private firewall. If it's closed you'll need to use https-scheme instead of git. You can make git replace the protocol for you:
git config --global url."https://".insteadOf git://

No comments:

Post a Comment