【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

相关推荐
洛小豆34 分钟前
Git 打标签完全指南:从本地创建到远端推送
前端·git·github
王道长服务器 | 亚马逊云38 分钟前
一个迁移案例:从传统 IDC 到 AWS 的真实对比
java·spring boot·git·云计算·github·dubbo·aws
return(b,a%b);2 小时前
VSCode 远程开发连接(glibc<2.28)
ide·vscode·编辑器
speop2 小时前
vscode使用tmux技巧
ide·vscode·编辑器
人工干智能2 小时前
建自己的Python项目仓库,使用工具:GitHub(远程仓库)、GitHub Desktop(版本控制工具)、VSCode(代码编辑器)
python·编辑器·github
fouryears_234174 小时前
云服务器使用代理稳定与github通信方法
运维·服务器·github
理想国的女研究僧4 小时前
Jupyter Notebook操作指南(1)
ide·python·学习·jupyter
angotech5 小时前
GitHub Copilot支持 GPT-5 和 GPT-5 mini!
github·copilot·ai编程·github copilot·gpt-5·copilot支持gpt-5
绝无仅有6 小时前
前端开发环境搭建:从安装 Node 到成功运行代码
后端·面试·github
xiaok7 小时前
分支管理提交代码
git·gitlab·github