上传code至github的步骤

​

一、步骤

直接来干货:

1、首先在github中创建一个repository。

VsCode使用Git上传代码至GitHub上_vscode提交github-CSDN博客

2、然后按照github的官网操作,或者以下链接,在VScode的终端中输入一系列代码push即可。

vscode代码上传到github仓库 - 知乎w

二、问题

(1)如果你第一次上传错了,需要重新上传。那么你在第二步是会发生
ERROR: Repository not found.

So a possible solution here would be simply removing the existing remote:

那么需要在终端里把original删除1
git remote remove origin

references

1 https://www.cloudbees.com/blog/remote-origin-already-exists-error

相关推荐
u1301307 小时前
GitHub 热榜项目:月榜(2026-09-30)
人工智能·github
m4Rk_9 小时前
【论文阅读】Agent 记忆机制(86):Skill-Pro——用 Non-Parametric PPO 将交互经验演化为可复用技能
论文阅读·人工智能·学习·开源·github
别动我齐刘海9 小时前
简历技术栈全面复习——UDP / TCP / CAN / ZMQ / Protobuf 通信工程
网络·c++·python·tcp/ip·机器学习·udp·github
data analyse 45610 小时前
埋点工具的私有化部署成本高吗?
前端·数据分析·github
miofly13 小时前
GitHub 今日推荐|company-brain:在 Slack 里给团队装个会主动干活的 AI
开源·github
用户3831703705417 小时前
PowerFS 是用 Rust 写的、面向 AI/GPU 训练的下一代分布式文件系统
github
钮钴禄·爱因斯晨17 小时前
用iPhone操作Codex CLI:ToDesk远程终端让我接回了开发环境
github
miofly19 小时前
GitHub 日榜趋势速报 | 2026-10-01
开源·github
阿里嘎多学长20 小时前
2026-09-30 GitHub 热点项目精选
开发语言·程序员·github·代码托管
miofly1 天前
GitHub 今日推荐|DiPlay:让 iPhone CarPlay 直连 BYD 车机,无需硬件适配器
开源·github