2024-06-03 14:38:18 +08:00
|
|
|
<!--
|
|
|
|
* @LastEditors: John
|
|
|
|
* @Date: 2024-04-12 19:24:25
|
|
|
|
* @LastEditTime: 2024-06-03 14:37:23
|
|
|
|
* @Author: John
|
|
|
|
-->
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
## Git Flow
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 初始化Git Flow
|
|
|
|
git flow init
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 创建一个新功能分支
|
|
|
|
git flow feature start new-feature
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 完成功能开发
|
|
|
|
git flow feature finish new-feature
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 创建一个release分支
|
|
|
|
git flow release start 1.0.0
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 完成release分支
|
|
|
|
git flow release finish 1.0.0
|
2024-01-31 10:28:31 +08:00
|
|
|
|
2024-06-03 14:38:18 +08:00
|
|
|
- 紧急修复
|
|
|
|
git flow hotfix start hotfix-issue
|
|
|
|
git flow hotfix finish hotfix-issue
|