【vscode】 unable to connect to github.com

复制代码
 error Error while executing:
3944 error C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
3944 error
3944 error fatal: unable to connect to github.com:
3944 error github.com[0: 20.205.243.166]: errno=Unknown error
3944 error
3944 error
3944 error exited with error code: 128
3945 verbose exit [ 1, true ]

npm config edit

proxy=http://username:password@proxy_host:proxy_port

有效果,: 从流量 来看

但还是报

error C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git

怀疑是git 不行

复制代码

git config --global https.proxy https://username:password@proxy_host:proxy_port ​​​​​​​

用下列命令来查看

git config --global --get http.proxy

git config --global --unset http.proxy

git config --global --unset https.proxy

相关推荐
Morpheon5 小时前
Cursor 1.0 版本 GitHub MCP 全面指南:从安装到工作流增强
ide·github·cursor·mcp
猿小猴子6 小时前
主流 AI IDE 之一的 Cursor 介绍
ide·人工智能·cursor
LinXunFeng8 小时前
Flutter - GetX Helper 助你规范应用 tag
flutter·github·visual studio code
草梅友仁9 小时前
AI 图片文字翻译与视频字幕翻译工具推荐 | 2025 年第 23 周草梅周报
开源·github·aigc
我命由我1234511 小时前
VSCode - VSCode 放大与缩小代码
前端·ide·windows·vscode·前端框架·编辑器·软件工具
qianmoQ13 小时前
GitHub 趋势日报 (2025年06月04日)
github
old_power13 小时前
VSCode 工作区配置文件通用模板创建脚本
ide·vscode·编辑器
Lw老王要学习13 小时前
VScode 使用 git 提交数据到指定库的完整指南
windows·git·vscode
abcnull14 小时前
github中main与master,master无法合并到main
git·github
星哥说事15 小时前
使用VuePress2.X构建个人知识博客,并且用个人域名部署到GitHub Pages中
开源·github