Linux操作系统解决 git clone 速度慢的问题
host配置IP
linux的hosts文件路径在:/etc/hosts
hosts文件输入命令
sudo vim /etc/hosts
在hosts文件末尾添加两行
151.101.72.249 http://global-ssl.fastly.Net
192.30.253.112 http://github.com
重启电脑,让hosts文件生效
或者用shadows
原创
2018-01-19 19:48:55 ·
1300 阅读 ·
0 评论