在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

相关推荐
2501_915918415 小时前
iOS编程用什么软件好?主流工具Xcode、AppCode、CodeRunner与新兴快蝎对比
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
我命由我123457 小时前
Git 推送报错:error: src refspec main does not match any
运维·git·gitee·github·运维开发·学习方法·版本控制
阿里嘎多学长8 小时前
2026-09-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
峰向AI9 小时前
skill-up: [阿里开源] 让 AI Agent Skills 自己进化的评估工具
github
__pop_12 小时前
VSCode Remote SSH 远程连接 glibc 高版本依赖问题
vscode
子林super12 小时前
顺序表用Python3定义与增删改查
github
子林super12 小时前
Python非空判断与类型检查写法
github
子林super12 小时前
Python list与array关键区别及使用场景
github
子林super12 小时前
Python中None与null的区别
github
u13013014 小时前
GitHub 热榜项目:周榜(2026-09-20)
人工智能·github