VScode配置 github 上传代码

  1. 初始化本地库
bash 复制代码
git init
  1. 创建本地分支,需要和github分支名字一样
bash 复制代码
git checkout -b master
  1. 本地仓库连接远程仓库
bash 复制代码
git remote add origin 自己的仓库地址
  1. 云仓库代码同步到本地
bash 复制代码
git pull origin master
  1. 上传代码
bash 复制代码
git push -u origin master
相关推荐
Nautiluss8 小时前
一起玩XVF3800麦克风阵列(八)
大数据·人工智能·嵌入式硬件·github·音频·语音识别
HarrySunCn11 小时前
如何使用VSCode开发Arduino项目
ide·vscode·单片机·编辑器
uhakadotcom13 小时前
Python Protobuf 全面教程:常用 API 串联与实战指南
前端·面试·github
知青先生13 小时前
E9项目调试方式
java·ide
周杰伦_Jay14 小时前
【GOFrame】模块化框架与生产级实践
开发语言·gitlab·github
面壁的熊猫15 小时前
cursor+cline+MCP(论文agent)
vscode·agent·cursor·mcp
Aspect of twilight18 小时前
vscode python debug方式
ide·vscode·python·debug
Aevget18 小时前
.NET跨平台开发工具Rider v2025.3发布——支持.NET 10
ide·.net·开发工具·rider·rider v2025.3
托马斯-酷涛19 小时前
加速GitHub加载速度-最终篇
github·proxy·代理
yuguo.im19 小时前
5 分钟快速入门 Github Actions
ci/cd·github·actions