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

示例一

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!!!

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

上一篇:web前端开发技术之SQL面试用题


下一篇:Python操作Mysql