github clone code acceleration

https://www.gitclone.com/gogs/

只需要在正常的git clone后的URL里,嵌入gitclone.com即可快速clone

Example:

#原地址
git clone  https://github.com/SpringSource/Spring-framework
#新地址
git clone  https://gitclone.com/github.com/SpringSource/Spring-framework
#原地址
git clone https://github.com/mybatis/mybatis-3
#新地址
git clone https://gitclone.com/github.com/mybatis/mybatis-3

 

 Instructions


// 方法一(设置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
// 方法三(替换URL)

F:>git clone https://gitclone.com/github.com/tendermint/tendermint.git
Cloning into 'tendermint'...
remote: 对象计数中:67188,完成.
remote: 压缩对象中:100%(19987/19987),完成.
remote: Total 67199(delta 45743),rouned 66648(delta 45294)
Receiving objects: 100%(67188/67188),66.04MiB | 1.29Mib/s
Resolving deltas: 100%(45/43/45/43), done

Guess you like

Origin blog.csdn.net/qq_29752857/article/details/131497590