fatal: unable to access 'https://gitlab.com/********.git/': Could not resolve host: gitlab

示例一

fatal: unable to access 'https://git.coding.net/********.git/': Could not resolve host: git.coding.net

示例二

fatal: unable to access 'https://github.com/********.git/': Could not resolve host: github.com

示例三

fatal: unable to access 'https://gitlab.com/********.git/': Could not resolve host: gitlab.com

 

折腾了半天才知道是DNS的问题

请更换您的 DNS 为 8.8.8.8 或 114.114.114.114 后重启网络。

重启网络后ok!!!

上一篇:关于安卓虚拟机使用报错的解决:错误内容(Unable to detect adb version, exit value: 0xc0000409, adb output: adb.exe F)


下一篇:异常处理·psftp·local unable to open