Error "Could not resolve host" solutions appear in git

Use the http proxy in the machine, such as the title of an error occurred after a system update, the solution is to cancel the http proxy.

git config --global --unset http.proxy 

Of course, you can also edit the configuration file delete proxy configuration items.

we ~ / .gitconfig

 

Guess you like

Origin www.cnblogs.com/wangling1820/p/12508712.html