- You can refer to this article: Github: fatal:unable to access 'https://github.com/... /.git ':Could not resolve host:github.com
-
Among other things, this blog:
4. fatal: unable to access 'https://github.com/... /.git ': Could not resolve host: github.com The
section might solve your problem. You can read it carefully or in the source blog:
-
Just execute
from the command line.git config --global --unset http.proxy git config --global --unset https.proxy