使用国内镜像,目前已知Github国内镜像网站有github.com.cnpmjs.org和git.sdut.me/。速度根据各地情况而定,在clone某个项目的时候将github.com替换为github.com.cnpmjs.org即可。
//这是我们要clone的
git clone https://github.com/easy-mock/easy-mock.git
//使用镜像
git clone https://github.com.cnpmjs.org/easy-mock/easy-mock.git
//或者使用镜像
git clone https://git.sdut.me/easy-mock/easy-mock.git
本文介绍如何通过使用国内镜像站点如github.com.cnpmjs.org和git.sdut.me来提高从GitHub克隆项目的速度。只需将原有的github.com替换为国内镜像地址即可实现快速克隆。
7986

被折叠的 条评论
为什么被折叠?



