记录一下亲测有效的解决github clone时,443的问题
访问地址1,记录ip
https://ipaddress.com/website/github.com
访问地址2,记录ip
https://ipaddress.com/website/github.global.ssl.fastly.net#ipinfo
访问地址3,记录ip
https://ipaddress.com/website/assets-cnd.github.com
修改host文件 sudo vi /etc/hosts
140.82.112.3 github.com
199.232.69.194 github.global.ssl.fastly.net
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
MacOS Sierra清除dns缓存
sudo killall -HUP mDNSResponder;say DNS cache has been flushed
然后重复clone操作,解决啦。