git pull时出现unable to access ‘ ‘:Could not resolve host: github.com

ゝ一世哀愁。 2022-11-07 04:20 194阅读 0赞

unable to access ‘ ‘:Could not resolve host: github.com解决方案

转载自:https://blog.csdn.net/weixin_42259631/article/details/82893426

在终端输入:

  1. sudo vim /etc/resolv.conf

在最后一行增加nameserver 8.8.8.8或者nameserver 114.114.114.114即可。

发表评论

表情:
评论列表 (有 0 条评论,194人围观)

还没有评论,来说两句吧...

相关阅读