使用gitclone.com加速github访问

使用gitclone.com加速github访问

有时候github访问太慢或者直接访问不了,可以使用gitclone加速,官网URL:https://gitclone.com/

按照官方描述,有三种方式使用

Method 1 (replace url)

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

Method 2 (set git parameters)

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

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

Method 3 (use cgit client)

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

个人建议直接使用Method 1,比较方便,也就是说比如原本的git clone的指令是

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

现在可以使用gitclone加速,

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

实测加速明显,速度飞快

你可能感兴趣的:(github,git)