有時(shí)候,使用git clone 指令下載代碼時(shí)顯示顯示:“ithub.com port 443: 連接超時(shí)”。
可以使用gitclone加速,官網(wǎng)URL:https://gitclone.com/
官方描述,有下面三種方式可以使用:
方法一(替換URL)
git clone https://gitclone.com/github.com/tendermint/tendermint.git
方法二(設(shè)置git參數(shù))
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,速度飛起?。。。。?br> 打個(gè)比方,原始方法:
git clone https://github.com/ultralytics/yolov5.git
會(huì)顯示:"ithub.com port 443: 連接超時(shí)"
替換URL后:文章來源:http://www.zghlxwxcb.cn/news/detail-508550.html
git clone https://gitclone.com/github.com/ultralytics/yolov5.git
沒一會(huì)就下好了!?。?span toymoban-style="hidden">文章來源地址http://www.zghlxwxcb.cn/news/detail-508550.html
到了這里,關(guān)于在GitHub上 git clone代碼失敗,顯示:“ithub.com port 443: 連接超時(shí)“的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!