1、問題描述:利用curl 或者wget 獲取raw.githubusercontent.com的內(nèi)容時(shí),報(bào)錯(cuò) 443.
2、解決:
打開終端輸入:
sudo vim /etc/hosts
將以下內(nèi)容復(fù)制到打開的文本中:
185.199.108.133 raw.githubusercontent.com
185.199.109.133 raw.githubusercontent.com
185.199.110.133 raw.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
199.232.69.194 github.global.ssl.fastly.net
140.82.113.4 github.com
保存退出即可。