Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-git-flow-case
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何虹
hs-git-flow-case
Commits
0e7272f8
Commit
0e7272f8
authored
Jun 20, 2022
by
胡伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 胡伟.md
parent
08242f9c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
胡伟.md
git-flow-case-answer/胡伟.md
+4
-3
No files found.
git-flow-case-answer/胡伟.md
View file @
0e7272f8
...
@@ -49,9 +49,10 @@
...
@@ -49,9 +49,10 @@
## case6: 又过了2天,项目里发现一个严重的bug,需要立马修复,如何操作?
## case6: 又过了2天,项目里发现一个严重的bug,需要立马修复,如何操作?
-
此时属于最新的发布版存在bug,适用hotfix分支,我们把版本号往上走一个到3.0.11,finish时与release合并一样,需要注入本次的tag信息保存后关闭编辑器会自动完成hotfix
-
此时属于最新的发布版存在bug,适用hotfix分支,我们把版本号再加一层3.0.10.1,finish时与release合并一样,需要注入本次的tag信息保存后关闭编辑器会自动完成hotfix,一般hotfix不会上传到远端仓库,所以打包实际上与release相同,不通过tag触发的。
-
git flow hotfix start 3.0.11
-
为什么版本不往后加1,从3.0.10加成3.0.11,因为一般每个版本都是有规划内的功能,3.0.11的功能是确定的,并且可能已经在开发中。而本次的bug显而易见不属于3.0.11的功能,而是属于3.0.10的bug,我们不能等到3.0.11发布时修复,因为非常紧急,同时我们也不能占用后续版本号,因为我们的功能仍然属于3.0.10,由于镜像取前2位,所以打包出来的镜像也不会有问题
-
git flow hotfix finish 3.0.11
-
git flow hotfix start 3.0.10.1
-
git flow hotfix finish 3.0.10.1
## case7: 环球项目,有一特殊需求新功能D需要开发,开发完成后测试并部署到项目中去,该如何操作?
## case7: 环球项目,有一特殊需求新功能D需要开发,开发完成后测试并部署到项目中去,该如何操作?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment