在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

相关推荐
凌晨一点的秃头猪6 小时前
【无标题】
github
weelinking7 小时前
【企业级】企业级大模型合规实战:数据安全与跨境传输的技术解决方案
数据库·人工智能·机器学习·云计算·github
韭菜钟8 小时前
Windows下,在Github Copilot Chat/CLI中使用obra/superpowers
windows·github·copilot
郝学胜-神的一滴10 小时前
Qt 高级开发 005: Qt Creator与Visual Studio 项目双向转换
开发语言·c++·ide·qt·程序人生·visual studio
Larcher12 小时前
# 告别“古法编程”:吴恩达 AI 课程学习笔记与生日贺卡项目实战
前端·github·ai编程
irpywp13 小时前
Rilmazafone :一款可视化 DMG 编辑器,拖拽排版一键生成
开源·编辑器·github
不剪发的Tony老师13 小时前
Code::Blocks:一款免费开源的C/C++/Fortran集成开发环境
c语言·c++·ide
高斯林.神犇13 小时前
Idea中使用Git
java·ide·intellij-idea
lifewange17 小时前
如何在VScode中配置shell环境?
ide·vscode·编辑器
csdn小瓯17 小时前
CI/CD流水线搭建:GitHub Actions + Docker + Railway自动化部署实战
ci/cd·docker·github