GitFlow驱动的敏捷开发
GitFlow基础
-
分支模型
Git开发的分支模型已经讲过很多次了,但是实践中仍然有很多误区以及很多没有实现的地方。
-
git flow 初始化
-
命令行
git flow init
:初始化一个git本地仓库。接着回答几个关于分支的问题。使用默认值即可,直接按回车键。
$ git flow init Which branch should be used for bringing forth production releases? - master Branch name for production releases: [master] Branch name for "next release" development: [develop] How to name your supporting branch prefixes? Feature branches? [feature/] Bugfix branches? [bugfix/] Release branches? [release/] Hotfix branches? [hotfix/] Support branches? [support/] Version tag prefix? [] Hooks and filters directory? [E:/NEWWORK/h5-inst-system/.git/hooks]
-
IDEA 插件
Git Flow Integration
:安装插件即可[外链图片转存失败(img-iz1i7U8C-1563181856154)(http://of0qa2hzs.bkt.clouddn.com/idea-git-flow.png)]
-
-
分支与常用命令
-
Master
master
分支只有一个。master
分支上的代码总是稳定的,随时可以发布出去。平时一般不在
ma
-