【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

相关推荐
罗政6 小时前
冒险岛079 V8 整合版源码搭建教程+IDEA启动
java·ide·intellij-idea
艾斯比的日常8 小时前
VSCode 实用快捷键
ide·vscode·编辑器
Galaxy_12298 小时前
vscode远程报错:Remote host key has changed,...
ide·vscode·编辑器
彬sir哥8 小时前
VScode运行后出现黑窗口
vscode·运行·黑窗口
Web极客码10 小时前
WordPress“更新失败,响应不是有效的JSON响应”问题的修复
json·github·wordpress
Hi~晴天大圣13 小时前
Pycharm中断点使用技巧
ide·python·pycharm
且随疾风前行.14 小时前
Android Studio 提示 !Failed to initialize editor
android·ide·android studio
是懒羊羊吖~15 小时前
图床 PicGo+GitHub+Typora的下载安装与使用
经验分享·笔记·github·typora·picgo
比牛顿更懂PID15 小时前
VSCode本地python包“无法解析导入”
ide·vscode·python
qxyywy17 小时前
CUDA 安装 一直卡在Installing Nsight Visual Studio Edition
ide·visual studio·cuda