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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM