点击推送,本地仓库同步到远程仓库时报错:Could not resolve host: github.com
首先打开终端:ping github.com
得到github的IP 192.30.255.112
在/etc/hosts中添加一行如下:
192.30.255.112 github.com
再次点击推送即可
点击推送,本地仓库同步到远程仓库时报错: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
网友评论