当前位置:   article > 正文

在GitHub上 git clone代码失败,显示:“ithub.com port 443: 连接超时“_git clone 443

git clone 443

有时候,使用git clone 指令下载代码时显示显示:“ithub.com port 443: 连接超时”。
可以使用gitclone加速,官网URL:https://gitclone.com/
官方描述,有下面三种方式可以使用:

方法一(替换URL)

git clone https://gitclone.com/github.com/tendermint/tendermint.git

方法二(设置git参数)

git config --global url."https://gitclone.com/".insteadOf https://

git clone https://github.com/tendermint/tendermint.git

方法三(使用cgit客户端)

cgit clone https://github.com/tendermint/tendermint.git
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

本人亲测第一种方法,下载Yolov5,速度飞起!!!!!
打个比方,原始方法:

git clone https://github.com/ultralytics/yolov5.git
会显示:"ithub.com port 443: 连接超时"
  • 1
  • 2

替换URL后:

git clone https://gitclone.com/github.com/ultralytics/yolov5.git
  • 1

没一会就下好了!!!

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号