Could not resolve hostname git.xxx.cn: nodename nor servname provided的解决办法
Could not resolve hostname git.xxx.cn: nodename nor servname provided, or
Update failed
ssh: connect to host git.xxxx.cn port 22: Operation timed out
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
产生原因:没有权限或者host解析不生效。
解决办法:system preferences – sharing – Computer name,这里的名称,与/etc/hosts文件里面的不对应。
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭