目前已知Github國內鏡像網站有github.com.cnpmjs.org和git.sdut.me/。速度根據各地情況而定,在clone某個項目的時候將github.com替換為github.com.cnpmjs.org即可。
還有 https://hub.fastgit.org/
示例
//這是我們要clone的
git clone https://github.com/xxx/xxx
//使用鏡像
git clone https://github.com.cnpmjs.org/xxx/xxx
//或者
//使用鏡像
git clone https://git.sdut.me/xxx/xxx