Fatal Error : Can't resolve host github.com

烈酒焚心 提交于 2019-12-03 22:59:07

This solved my problem:

http version:

git config --global --unset http.proxy

https version:

git config --global --unset https.proxy

In Windows, if you've any third party firewall (or internet activity monitor) installed, then configure them to allow your client to access outside connection.

If there aren't any 3rd part firewallls, then go to control panel, search for firewall. Inside the firewall panel, select Add a new exception (or similar option). Allow the git client both inbound and outbound access.

I recomend you to switch to ssh.

You can get github ssh link from same place where https one. Then you just have to generate/add your ssh key to github profile. And that's it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!