两类错误: 

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

 

相关文章:

  • 2021-07-23
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2021-04-13
猜你喜欢
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-04-07
  • 2021-05-16
相关资源
相似解决方案