fatal: 无法访问 'XXX.git/':Could not resolve host: gitee. 余默 2021-03-04 970 阅读1分钟 问题:Could not resolve host: gitee. 在使用git的时候遇到这种情况,如果修改hosts文件还是不可行,那么试试这种方法,将http的代理取消 git config --global --unset http.proxy 但是这种方法需要重新输入账号密码