blob: ce5bb140e9cec188f552c7e973bc3f95845ce8ef [file] [log] [blame]
Vincent Driessen78c73dc2010-01-21 00:48:44 +01001gitflow
2=======
3A collection of Git wrapper scripts to provide high-level repository operations
4for Vincent Driessen's [branching model](http://nvie.com/archives/323 "original
5blog post").
6
7Please help out
8---------------
9This project is yet unimplemented. And yes, I mean unimplemented. There are no
10scripts yet, but I will use this README file as the "design document" for now,
11so people may start collaborating on it.
12
13Feel free to fork this repo and to commit your additions.
14
15Commands
16--------
17Initially, the following subcommands to `gitflow` should be created:
18
19* `start`
20* `finish`
21
22Those subcommands could work on branch types:
23
24* `feature`
25* `release`
26* `hotfix`
27
28Examples
29--------
30
31* To start a new feature branch, use:
32
33 gitflow start feature <name> [<base>]
34 gitflow start feature foo-support
35
36 `base` is `develop` by default.
37
38* To finish this feature and have it merged into `develop`, use:
39
40 gitflow finish feature <name>
41 gitflow finish feature foo-support
42
43* To start a new release branch for 2.0, based on the 1.1 production release, use:
44
45 gitflow start release <release>
46 gitflow start release 2.0
47
48* To finish the release branch (i.e. to make an actual production release), use:
49
50 gitflow finish release <release>
51 gitflow finish release 2.0
52
53* To start a new hotfix branch for 2.1, based on the 2.0 production release, use:
54
55 gitflow start hotfix <release> [<base-release>]
56 gitflow start hotfix 2.1 2.0
57
58* To finish the hotfix branch, use:
59
60 gitflow finish hotfix <release>
61 gitflow finish hotfix 2.1
62