git clone 下载缓慢 如下以ubuntu操作系统为例
提供映射方案
·
记录点滴生活
一、https://www.ipaddress.com/
搜索如下两个网址并先记录好 Address:
github.global.ssl.fastly.net
github.com
二、在ubuntu命令行输入sudo apt-get install gedit 安装gedit
三、sudo gedit /etc/hosts 找出hosts文件
附:Windows上的hosts文件路径在C:\Windows\System32\drivers\etc\hosts
四、在hosts文件里面将对应的XX写上
五、sudo gedit /etc/init.d/networking restart 运行host指令
然后就没然后了
更多推荐
已为社区贡献1条内容
所有评论(0)