github上传代码遇到的问题

今晚跟着这一篇文章在GitHub上测试上传项目。《怎样在GitHub上传自己的项目》

在最后一步 git push -u origin master 遇到了问题

warning: redirecting to https://github. com/xxx/test.git/

error: RPC failed;cur1 28 Recv failure: Connection was reset

send-pack: unexpected disconnect while reading sideband packet

fatal: the remote end hung up unexpectedly

Everything up-to-date

尝试了这篇文章的方法 跳转至文章也就是git config --global --unset http.proxygit config --global --unset https.proxy 没有用。

最后发现是在 git remote add origin https:// 这个链接写错了,http少写了一个s

最后成功上传

相关推荐
玥轩_52116 分钟前
Git命令速查手册
大数据·git·elasticsearch·gitee·github·命令速查
吃饺子不吃馅1 小时前
⚡️ Zustand 撤销重做利器:Zundo 实现原理深度解析
前端·javascript·github
whysqwhw1 小时前
KMP类GSON转字符串工具
github
CoderJia程序员甲2 小时前
GitHub 热榜项目 - 日榜(2025-11-06)
ai·开源·大模型·github·ai教程
诸葛思颖5 小时前
把本地 Python 项目用 Git 进行版本控制并推送到 GitHub
git·python·github
chhanz16 小时前
git/github入门基操(终端版)
git·github
Bacon19 小时前
Electron 应用商店:开箱即用工具集成方案
前端·github
掘金安东尼1 天前
GPT-6 会带来科学革命?奥特曼最新设想:AI CEO、便宜医疗与全新计算机
前端·vue.js·github
逛逛GitHub1 天前
国产开源 AI CRM 系统,用它替换了 7 年的 Salesforce。
github
散峰而望1 天前
C++入门(二) (算法竞赛)
开发语言·c++·算法·github