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

1.发现vulhub靶场不全,重新下载发现下这个问题,记录一下。
2.出现以下报错,如下图 fatal: unable to access ‘https://github.com/…/.git’: Could not resolve host: github.com
在这里插入图片描述
3.只需要在命令行中执行
git config --global --unset http.proxy
git config --global --unset https.proxy
在这里插入图片描述
4.既可解决以上问题。
在这里插入图片描述

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐