less than 1 minute read

使用 git clone url时经常遇到下载速度过慢的问题,不管是https还是ssh代理,速度都很慢且最终下载失败。

解决方法:

使用github的镜像网站进行访问,github.com.cnpmjs.org,我们将原本的网站中的github.com进行替换。例如将我的github替换为

https://github.com.cnpmjs.org/HUSTzhaowei

github: git clone https://github.com/···
镜像: git clone https://github.com.cnpmjs.org/···

Tags:

Categories:

Updated: