首页 > 技术文章 > 解决git clone 速度慢问题比较赞的方法

johnyang 2021-05-24 10:10 原文

使用国内镜像,目前已知的GitHub国内镜像网站有github.com.cnpmjs.org和git.sdut.me.
在clone 某项目时候可将github.com替换为github.com.cnpmjs.org即可.
例如:
原来的:$ git clone https://github.com/JohnYang1210/PycomCAD.git
现在:$ git clone https://github.com.cnpmjs.org/JohnYang1210/PycomCAD.git

推荐阅读