原文:fatal: unable to access 'https://gitlab.com/********.git/': Could not resolve host: gitlab.com git无法拉代码、git无法提交

示例一 示例二 示例三 折腾了半天才知道是DNS的问题 请更换您的 DNS 为 . . . 或 . . . 后重启网络。 重启网络后ok ...

2021-07-21 10:54 0 445 推荐指数:

查看详情

Git-fatal: unable to access 'xxx' : Could not resolve host: xxx

解决办法:(在知乎上找到 确实好用) 1.查询代理 git config --global http.proxy 2.取消代理设置 git config --global --unset http.proxy 重新打开 如sourceTree等软件 或者 终端。 git pull xxx ...

Fri Mar 11 21:24:00 CST 2016 0 2704
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM