在vscode运行github的命令

查看当前分支列表

git branch

查看当前分支列表

git branch

如果没有 main 分支,则创建并切换到 main 分支

git checkout -b main

添加和提交所有更改(如果有未提交的更改)

git add .

git commit -m "Initial commit"

推送 main 分支到远程仓库

git push -u VSCodeMXSTM32F407ZG main

相关推荐
Gene_202210 小时前
ubuntu22.04在vscode使用codex
ide·vscode·编辑器
Yunzenn11 小时前
深度分析字节最新研究cola-DLM 第 07 章:推理流水线逐行拆解 —— 从 prompt 到生成文本
人工智能·驱动开发·深度学习·chatgpt·架构·prompt·github
努力努力再努力wz11 小时前
【Qt入门系列】:按钮组件全解析:从 QAbstractButton 到快捷键事件、单选与复选机制
c语言·开发语言·数据结构·c++·git·qt·github
sinat_2554878112 小时前
IDEA:查找文件/类
java·ide·设计模式·intellij-idea
Tiger Z13 小时前
Positron 教程4 --- 数据分析
ide·编程·positron
JoyCong199813 小时前
远控届的隐形冠军ToDesk,告别延迟与卡顿,“无感”重塑远程体验
科技·github·电脑·远程工作·远程操作
lqqjuly14 小时前
vscode+remote-ssh+claude code+mimo-v2.5配置
ide·vscode·编辑器
峰向AI15 小时前
star 狂飙,把 Deepseek 用到极致的省钱神器
github
随风丶飘18 小时前
AI Code Review 实测:GitHub Copilot PR Review 与 CodeRabbit,能否替代人工 Review?
人工智能·github·代码复审
MrXun_18 小时前
vscode中同时连接多个远程并同时登录使用codex
ide·vscode·编辑器·codex