美文网首页
sourceTree拉取github代码注意点(连接不上gith

sourceTree拉取github代码注意点(连接不上gith

作者: CoderZb | 来源:发表于2023-02-01 11:48 被阅读0次

点击Clone


image.png

报错1: sourceTree提示 Failed to connect to github.com port 443 after 21074 ms: Timed out

  • 点击细节提示如上内容


    image.png
  • 解决办法:终端执行如下两个命令,取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy

报错2:sourceTree提示 unable to access ‘https://github.com/zb55....‘: OpenSSL SSL_read: Connection was reset

  • 解决办法:终端执行如下命令,去掉ssl验证
    git config --global http.sslVerify false

还是不行的话,可以在终端执行ipconfig /flushdns刷新DNS缓存

ps:拉取后,如果无法将代码推送到服务器上,也可以按照上述步骤解决

image.png

相关文章

网友评论

      本文标题:sourceTree拉取github代码注意点(连接不上gith

      本文链接:https://www.haomeiwen.com/subject/oydihdtx.html