fatal: unable to access ‘https://github.com/.git/‘: Failed to conne拒绝连接

fatal: unable to access ‘https://github.com/.git/’: Failed to conne拒绝连接

解决 fatal: unable to access ‘https://github.com/…/.git’: Could not resolve host: github.com问题

有可能你的gitbub之前设置过代理,只需分别执行如下代码即可:

git config --global --unset http.proxy
git config --global --unset https.proxy

如果还没有解决,可以尝试如下解决方式,亲测有效:

git config --global url.git://github.com/.insteadOf https://github.com/

参考链接

相关文章

developer-roadmap —— 提供最全的开发者技术路线指南。前端...
一个极简的文件分享工具,无需注册且没有广告即可生成共享下...
收集 Github、Gitee优秀的开源项目,并进行归类整理。项目地...
大家好,我是 Java陈序员,我们有时会搭建一个属于自己的网站...
一个提供交互式的Web UI用于生成兼容MyBatisPlus框架的相关功...
大家好,我是 Java 陈序员。权限认证是我们日常开发绕不过的...