美文网首页
SourceTree Could not resolve hos

SourceTree Could not resolve hos

作者: Accepted_ | 来源:发表于2017-05-15 12:23 被阅读0次

    点击推送,本地仓库同步到远程仓库时报错:Could not resolve host: github.com

    首先打开终端:ping github.com

    得到github的IP 192.30.255.112

    在/etc/hosts中添加一行如下:

    192.30.255.112 github.com

    再次点击推送即可

    相关文章

      网友评论

          本文标题:SourceTree Could not resolve hos

          本文链接:https://www.haomeiwen.com/subject/qgqhxxtx.html