fatal: unable to access 'https://github.com/xdd1997/PythonXdd.git/': Failed to connect to github.com port 443: Timed out

两类错误: 

fatal: unable to access 'https://github.com/xdd1997/PythonXdd.git/': Failed to connect to github.com port 443: Timed out

ennnn,可能仅仅是因为网不好,或者pycharm重启,, 很有可能是因为科学.网-代理所致 

反正我的是取消代理解决的。。。

先:

git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080

重启git客户端,再:

git config --global --unset http.proxy 
git config --global --unset https.proxy 

重启git客户端,再:

git add .
git commit -m "提交备注"
git push

en就是这样解决的。

 还有。。。

warning: LF will be replaced by CRLF py. The file will have its origin

git config core.autocrlf false

 

posted @ 2020-03-21 20:00  xdd1997  阅读(1403)  评论(0编辑  收藏  举报