Merge pull request #5 from suyiiyii/syy

更新README.md以详细说明开发流程,包括拉取、合并和删除分支的git命令。
This commit is contained in:
tortoise014 2024-08-09 16:52:05 +08:00 committed by GitHub
commit 4fb6e0566b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,12 +3,13 @@
Super Invincible Management System
开发流程:
1. git fetch
2. git checkout origin/main
3. git switch -c xxx
4. commit .....
5. git push origin xxx
6. 提 PR
7. require review
8. merge
9. delete
1. git fetch: 拉取远程仓库的最新代码
2. git checkout origin/main: 切换到远程仓库的 main 分支
3. git switch -c xxx : 创建并切换到新的分支
4. commit ..... : 进行开发
5. git fetch origin && git merge origin/main: 拉取远程仓库的最新代码并合并到当前分支
6. git push origin xxx: 推送当前分支到远程仓库
7. 提 PR
8. require review: 请求review
9. merge: 合并 PR
10. delete: 删除分支