赞
踩
困扰了两天,在Pycharm 上提交代码到github上一直报错:Failed to connect to github.com port 443 : Timed out
解决办法:取消代理并配置HTTP代理
- #取消代理
- git config --global --unset http.proxy
-
- git config --global --unset https.proxy
-
- #设置代理
- git config --global http.proxy http://127.0.0.1:10792
-
- git config --global https.proxy http://127.0.0.1:10792
-
- #查看代理
- git config --global --get http.proxy
-
- git config --global --get https.proxy
设置代理需要查看网络设置-代理设置
终于搞定了,感谢各路大神,特此记录!!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。