1.git clone 去克隆一个repo速度特别慢
- 解决方案:使用github国内镜像:github.com.cnpmjs.org;
附上原博客链接git clone超级慢怎么办?
2.ubuntu修改hosts
sudo vim /etc/hosts
#在文件最后一行添加ip
sudo /etc/inti.d/networking restart
上述方法有误,正确方法看这篇博客Ubuntu 18.04将Python3设为默认Python版本
1.git clone 去克隆一个repo速度特别慢
2.ubuntu修改hosts
sudo vim /etc/hosts
#在文件最后一行添加ip
sudo /etc/inti.d/networking restart
上述方法有误,正确方法看这篇博客Ubuntu 18.04将Python3设为默认Python版本