fatal: unable to access 'https://github.com/.../.git': Could not resolve host: g

1,050 阅读1分钟
  • pod install的时候如下报错:
fatal: unable to access 'https://github.com/.../.git': Could not resolve host: github.com
  • 解决方法:
  • 打开终端分别执行如下命令
git config --global --unset http.proxy 
git config --global --unset https.proxy