Git Flow Tutorial
Git Flow Tutorial
index
Planning
Development
Testing
Release
Target Start
solo?
Target Start
http://www.mongri.co.kr/xe/319
Target Start
http://www.mongri.co.kr/xe/319
go to hell
Target
Start
go to hell
Target
Start
result
feature branches
develop
release branches
hotfixes
master
Time
Tag 0.1
Tag 0.2
1.0
Only bugfixes!
Tag 1.0
result
beautiful have plan efciently maintenance more
release branches
hotxes
master
Time
Feature v0.1.0
v0.3.0
emergency
Problem
Planning
Development
Testing
Release
HeroChat Server
HeroChat Client
H3 Site UI
develop
release branches
hotxes
master
Time
v0.1.0
Release v0.1.1
v0.1.1hotfix
install
Git-ow?
shell script for git smart branching strategy for git Vincent Driessens branching model source : https://github.com/nvie/gitow
git ow help
usage: git ow <subcommand> Available subcommands are: init Initialize a new git repo with support for the branching model. feature Manage your feature branches. release Manage your release branches. hotx Manage your hotx branches. support Manage your support branches. version Shows version information. Try 'git ow <subcommand> help' for details.
git ow init
$ mkdir git-ow-edu $ cd git-ow-edu ~/path/to/git-ow-edu$ git ow init
Initialized empty Git repository in /path/to/git-ow-edu/.git/ No branches exist yet. Base branches must be created now. Branch name for production releases: [master] Branch name for "next release" development: [develop] How to name your supporting branch prexes? Feature branches? [feature/] Release branches? [release/] Hotx branches? [hotx/] Support branches? [support/] Version tag prex? []
git ow feature
base : develop ~/path/to/git-ow-edu$ git ow feature start <name> [<base>] ~/path/to/git-ow-edu$ git ow feature nish <name>
git ow release
base : develop ~/path/to/git-ow-edu$ git ow release start <release> [<base>] ~/path/to/git-ow-edu$ git ow release nish <release>
usage: git ow release [list] [-v] git ow release start [-F] <version> git ow release nish [-Fsumpk] <version> git ow release publish <name> git ow release track <name>
git ow hotx
base : master ~/path/to/git-ow-edu$ git ow hotx start <release> [<base>] ~/path/to/git-ow-edu$ git ow hotx nish <release>
usage: git ow hotx [list] [-v] git ow hotx start [-F] <version> [<base>] git ow hotx nish [-Fsumpk] <version>
git ow support
Experimental !
references
http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-ow/ https://github.com/nvie/gitow
other tools
git-extra : high-level utilities for git
https://github.com/rhiokim/git-extras
Start