fatal: unable to access ‘https://github.com/JhouXu/guiyi.git/‘: Failed to connect to github.com port

编程知识 行业动态 更新时间:2024-06-13 00:19:37

问题描述:

今天想将本地文件push到github的仓库时,频繁报错,错误提示如下:

fatal: unable to access 'https://github/JhouXu/guiyi.git/': Failed to connect to github port 443: Timed out


原因分析:

翻译之后大意是:无法连接到github端口443:超时。
在刚开始的时候需要github的用户名及密码,但是没有登录成功,导致没有push的权限。

解决方案:

通过输入以下命令
// 检查代理
git config --global http.proxy
// 取消代理
git config --global --unset http.proxy
重新进行push命令,就会提示登录了,按照指示正确登录就可以了。

更多推荐

fatal: unable to access ‘https://github.com/JhouXu/guiyi.git/‘: Failed to connec

本文发布于:2023-03-28 15:43:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/10b28fa9a020d55220c3fe75ec7481c0.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:https   github   access   fatal   unable

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!