解决github clone慢的问题(window/mac os

2019-08-19  本文已影响0人  garyhu1

1、访问(https://www.ipaddress.com)

如图:


image.png

2、在上图箭头处分别输入:

github.global.ssl.fastly.net
得到:

image.png

github.com
得到:

image.png

3、host配置

window: C:/WINDOWS/system32/drivers/etc/host,打开host文件
mac : XXX/etc/host

写入:

151.101.185.194 github.global.ssl.fastly.net
192.30.253.112 github.com

4、保存

5、clone ok

上一篇 下一篇

猜你喜欢

热点阅读