使用国内镜像,目前已知的GitHub国内镜像网站有github.com.cnpmjs.or
g和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