【文件属性】:
文件名称:git-flow:GIT版本管理:Git Flow模型
文件大小:1KB
文件格式:ZIP
更新时间:2021-05-01 03:47:02
git-flow
Git 分支开发规范
master
master 只能用于创建分支和接收合并,严格对应线上代码,不能直接 commit;
master 只能通过向前合并分支的方式对其修改,接收 stage 和 hotfix 的 merge request。
feature
feature 由 master 创建分支,分支保持原子性的功能。不能直接合并到 master;
开发自测完毕后,先从 master 创建 stage 分支,再将 feature 合并到 stage,最后由 stage 合并到 master。
stage
stage 分支是为 QA 团队测试使用的,需要设定一个版本号,如 stage/1.3.0 ;
在 stage 上测试出的 bug ,在对应的 feature 分支上进行修复,最后在合并到 stage 进行复测。
hotfix
应对线上代码的紧急 bug 修复,需要从
【文件预览】:
git-flow-master
----README.md(2KB)