Solve the slow speed of git clone

Method

Use domestic mirrors. Currently, Github’s domestic mirror websites are known to include github.com.cnpmjs.org and git.sdut.me/ . The speed depends on the local conditions. When cloning a certain project, replace github.com with github.com.cnpmjs.org.

For example

//这是我们要原本clone
git clone https://github.com/Hackergeek/architecture-samples
 
//使用镜像之后
git clone https://github.com.cnpmjs.org/Hackergeek/architecture-samples
 
//或者
 
//使用镜像之后
git clone https://git.sdut.me/Hackergeek/architecture-samples

 

Guess you like

Origin blog.csdn.net/Youning_Yim/article/details/108974428