有时候,使用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
本人亲测第一种方法,下载Yolov5,速度飞起!!!!!
打个比方,原始方法:
git clone https://github.com/ultralytics/yolov5.git
会显示:"ithub.com port 443: 连接超时"
替换URL后:
git clone https://gitclone.com/github.com/ultralytics/yolov5.git
没一会就下好了!!!
本文介绍了解决使用git clone指令下载代码时出现“ithub.comport443:连接超时”的问题的方法。通过替换URL、设置git参数或使用cgit客户端等三种方式实现加速,亲测有效。

1万+

被折叠的 条评论
为什么被折叠?



