-
Notifications
You must be signed in to change notification settings - Fork 8
Git Flow
Derkje-J edited this page Feb 15, 2013
·
3 revisions
Use this directly with git bash
-
master
is always stable -
develop
is the active development branch - Bugs on
master
are fixed withhotfix/<branchname>
- Features and Issues are developed on
feature/<branchname>
andissue/<branchname>
- From
develop
to stable release, use arelease/<version>
branch.
- branch from
develop
tofeature/<branchname>
- commit to this branch
- when done (or partially done but apparently stable)
git merge --no-ff
todevelop
- branch from
develop
torelease/<version>
- only bugfixes commit to this branch
- when done (tested, unit tested, stable)
git merge --no-ff
tomaster
andgit merge --no-ff
todevelop
- branch from
master
tohotfix/<issue>
- only bugfixes commit to this branch
- when done
git merge --no-ff
tomaster
andgit merge --no-ff
todevelop