Git Work Flow
Git flow
From http://nvie.
com/posts/a-successful-
git-branching-model/
CI
CI
CI
● Hotfix 同時只能存在一個
● feature branch 可隨時與 dev 同步
● 利用 github 提供的 pull request 來做
code review ,同時可讓所有 team
member 瞭解最新變更
● feature 可以是其他 feature 的基礎
git flow tool
Command line
● https://github.com/nvie/gitflow
GUI
● SourceTree
● SmartGit
git flow init
git flow feature start
<name> [<base>]
git flow release start
<version>
git flow hotfix start
<name>
Semantic Versioning
2.0.0
1.0.2
主版號 feature hotfix
參考網站
● http://ihower.
tw/blog/archives/5140/comment-page-1
● https://www.atlassian.com/git/workflows#!
workflow-gitflow
● http://nvie.com/posts/a-successful-git-
branching-model/
● http://semver.org/spec/v2.0.0.html

Git work flow