GitHub连接超时问题 Recv failure: Connection was reset

用手机热点WIF拉取git项目的时候,遇到Recv failure: Connection was reset问题。

解决办法

一、手动开启本地代理

二、在终端(cmd)输入命令

bash 复制代码
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890

三、查看是否设置成功

bash 复制代码
git config --global -l

通过以上的操作,可以解决某些用手机热点无法拉取github.com项目出现:Recv failure: Connection was reset等问题。

相关推荐
崔庆才丨静觅8 小时前
Claude Code GitHub Actions 使用教程
github·api·claude
砖厂小工1 天前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
程序员鱼皮1 天前
又一个新项目完结,我要出海了!
ai·github·开源项目
徐小夕1 天前
pxcharts-vue:一款专为 Vue3 打造的开源多维表格解决方案
前端·vue.js·github
Moment1 天前
想要长期陪伴你的助理?先从部署一个 OpenClaw 开始 😍😍😍
前端·后端·github
我叫黑大帅1 天前
前端如何利用 GitHub Actions 自动构建并发布到 GitHub Pages?
前端·面试·github
HelloGitHub1 天前
这个年轻的开源项目,想让每个人都能拥有自己的专业级 AI 智能体
开源·github·agent
刘发财2 天前
弃用html2pdf.js,这个html转pdf方案能力是它的几十倍
前端·javascript·github