我正在使用Android项目,我厌倦了这个错误:
fatal: unable to access 'https://github.com/caddy2519/MyBabyGrowing.git/': Failed connect to github.com:443; No error
我该如何解决这个问题?
我不使用代理服务器。
检查您的网络是否受到保护,如果是,您可以为该答案中提供的 git 配置代理,如下所示:
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
- 将代理用户更改为您的代理用户 将代理密码
- 更改为您的代理密码
- 将 proxy.server.com 更改为代理服务器的 URL
- 将 8080 更改为代理服务器上配置的代理端口
否则,您应该考虑全新安装 git。
删除 .git(/) 后面的斜杠
https://github.com/caddy2519/MyBabyGrowing.git/
将其更改为
https://github.com/caddy2519/MyBabyGrowing.git