首页 > 其他 > 详细

Git常见问题

时间:2021-02-09 18:11:41      阅读:21      评论:0      收藏:0      [点我收藏+]

fatal: unable to access ‘https://gitee.com/longzhenling/vue_shop.git/‘: Could not resolve host: gitee.com

问题:git pull origin master 远程提交代码报错

PS D:\vue\vue_shop> git pull origin master
fatal: unable to access ‘https://gitee.com/longzhenling/vue_shop.git/‘: Could not resolve host: gitee.com

解决方案:

1、ipconfig 查看ip地址
2、ping IP地址查看链接是否正常。

3、找到git目录下的 hosts文件。一般目录为 C:\Program Files\Git\etc。
4、添加IP github.com,重试。

Git常见问题

原文:https://www.cnblogs.com/zhenling/p/14393235.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!