【Git】fatal: unable to access ‘http://gitlab.example.com/root/test_gitlab.git/‘: Could not resolve ho

给Ubuntu16配置gitlab之后,尝试通过浏览器访问gitlab官网,并创建了一个
在这里插入图片描述
报错之后如何解决?
未配置http://gitlab.example.com导致的,只需要将gitlab.example.com改成对应的ip地址即可。

git clone http://192.168.xxx.xxx/root/test_gitlab.git

猜你喜欢

转载自blog.csdn.net/kz_java/article/details/115270978