【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

相关推荐
未来之窗软件服务1 小时前
声音分离人声和配乐-从头设计数字生命第5课, demucs——仙盟创梦IDE
ide·macos·xcode·仙盟创梦ide·数字生命
梓羽玩Python1 小时前
告别OCR!这个AI文档神器直接"看懂"PDF,支持文档归类及多模态问答!
人工智能·github
Kusunoki_D2 小时前
使用 VSCode 编写 Markdown 文件
vscode·编辑器·markdown
綦枫Maple3 小时前
Vue实战(08)解决 Vue 项目中路径别名 `@` 在 IDE 中报错无法识别的问题
前端·ide·vue.js
用户12653838705123 小时前
github 和 gitee 配置问题及相关问题解决
git·github
uhakadotcom4 小时前
轻松理解vLLM:大语言模型推理的高效利器与实用示例
后端·面试·github
极小狐4 小时前
极狐GitLab Git LFS 速率限制如何设置?
运维·git·ssh·gitlab·github
隐-梵4 小时前
Android studio进阶开发(四)--okhttp的网络通信的使用
android·ide·okhttp·android studio
一袋米扛几楼984 小时前
【GIT】github中的仓库如何删除?
git·github
uhakadotcom5 小时前
刚发布的PyTorch 2.7提供了什么 新特性
算法·面试·github