在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

相关推荐
面壁的熊猫30 分钟前
cursor+cline+MCP(论文agent)
vscode·agent·cursor·mcp
Aspect of twilight4 小时前
vscode python debug方式
ide·vscode·python·debug
Aevget4 小时前
.NET跨平台开发工具Rider v2025.3发布——支持.NET 10
ide·.net·开发工具·rider·rider v2025.3
托马斯-酷涛5 小时前
加速GitHub加载速度-最终篇
github·proxy·代理
yuguo.im5 小时前
5 分钟快速入门 Github Actions
ci/cd·github·actions
阿里嘎多学长5 小时前
2025-12-12 GitHub 热点项目精选
开发语言·程序员·github·代码托管
啃火龙果的兔子5 小时前
vscode中可以使用的免费的AI编程工具有哪些
ide·vscode·ai编程
littlezls6 小时前
在VSCode中运行Python脚本文件时如何传参
vscode·python
宋明炜7 小时前
VSCode + MSYS2 配置 C 语言开发环境(详细步骤)
c语言·ide·vscode
yscript7 小时前
GPU分配BUG: Duplicate GPU detected : rank 1 and rank 0 both on CUDA device d5000
linux·运维·服务器·vscode·bug