赞
踩
Windows系统,在C:\Windows\System32\drivers\etc\hosts添加如下面内容:
140.82.114.3 http://github.com 199.232.69.194 github.global.ssl.fastly.net 199.232.68.249 http://global-ssl.fastly.Net 140.82.114.3 github.com 185.199.108.153 assets-cdn.github.com 185.199.108.153 assets-cdn.github.com 185.199.108.153 assets-cdn.github.com 185.199.108.153 documentcloud.github.com 140.82.113.3 gist.github.com 185.199.108.154 help.github.com 140.82.112.9 nodeload.github.com 199.232.68.133 raw.github.com 140.82.114.17 status.github.com 185.199.108.153 training.github.com 140.82.114.3 www.github.com 199.232.69.194 github.global.ssl.fastly.net 199.232.68.133 avatars0.githubusercontent.com 199.232.68.133 avatars1.githubusercontent.com
说明:
配置的时候使用这个网站https://www.ipaddress.com/ 查询github.com和github.global.ssl.fastly.net 等各个域名对应的IP地址。
cmd窗口执行dos命令:
ipconfig /flushdns
如图所示:
刷新之后再次clone速度有所提高。
欢迎大家访问我的博客:随风飘雁的博客
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。