- 如果您使用代理,请尝试运行并输入inetcpl.cpl
然后连接,然后局域网设置,然后前进
现在您可以看到您的代理,使用http代理。
git config --global http.proxy
- 如果没有输出,则未设置Git Bash中的代理
然后使用这些命令进行设置,并使用第一段所示的代理和端口
git config --global http.proxy proxyaddress:port
git config --global http.proxy
git config --global --unset http.proxy
直接设置代理
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)