克隆失败无法访问"https:// ....."连接到github失败:443没有错误

Lat*_*med 9 git github git-push git-clone

我正在使用Android项目,我厌倦了这个错误:

fatal: unable to access 'https://github.com/caddy2519/MyBabyGrowing.git/': Failed connect to github.com:443; No error

我该如何解决?

我不使用代理服务器.

hur*_*urk 1

检查您的网络是否受到保护,如果是,您可以为该答案中提供的 git 配置代理,如下所示:

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
Run Code Online (Sandbox Code Playgroud)
  • 将 proxyuser 更改为您的代理用户
  • 将 proxypwd 更改为您的代理密码
  • 将 proxy.server.com 更改为您的代理服务器的 URL
  • 将 8080 更改为代理服务器上配置的代理端口

否则,您应该考虑全新安装 git。