VS Code + Git 分支操作指南(附流程图)
本指南将手把手教你如何在 Visual Studio Code (VS Code) 中使用 Git 进行项目开发管理,配合标准分支模型(main
、develop
、feature/*
等),并附上直观的流程图,适合新手快速上手!
📌 前置准备
- 安装 Git
- 安装 VS Code
- 安装 VS Code 插件:
GitLens
(可选但推荐)
- 配置 Git 用户信息:
git config --global user.name "你的名字"
git config --global user.email "你的邮箱"