A cheatsheet on the usage of git flow
HTML CSS
Switch branches/tags
Nothing to show
Clone or download
danielkummer Merge pull request #82 from isatrio/gh-pages
Add new language Bahasa Indonesia - thanks to @isatrio
Latest commit b9ec21b Oct 30, 2017
Permalink
Failed to load latest commit information.
css Create style.vi_VN.css Aug 21, 2017
files add commands image Sep 7, 2012
img add commands image Sep 7, 2012
.gitattributes Added git attributes for unification Nov 30, 2016
.gitignore Improved .gitignore file Feb 10, 2016
README.md fix with markdown syntax Mar 14, 2013
index.ar_MA.html Merge remote-tracking branch 'upstream/gh-pages' into gh-pages Oct 28, 2017
index.az_AZ.html Add link bahasa Indonesia Oct 28, 2017
index.ca_CA.html Add link bahasa Indonesia Oct 28, 2017
index.de_DE.html Add link bahasa Indonesia Oct 28, 2017
index.el_GR.html Add link bahasa Indonesia Oct 28, 2017
index.es_ES.html Add link bahasa Indonesia Oct 28, 2017
index.fr_FR.html Add link bahasa Indonesia Oct 28, 2017
index.hr_HR.html Add link bahasa Indonesia Oct 28, 2017
index.html Add link bahasa Indonesia Oct 28, 2017
index.id_ID.html Add link bahasa Indonesia Oct 28, 2017
index.it_IT.html Add link bahasa Indonesia Oct 28, 2017
index.ja_JP.html Add link bahasa Indonesia Oct 28, 2017
index.ko_KR.html Add link bahasa Indonesia Oct 28, 2017
index.lt_LT.html Add link bahasa Indonesia Oct 28, 2017
index.nl_NL.html Add link bahasa Indonesia Oct 28, 2017
index.pl_PL.html Add link bahasa Indonesia Oct 28, 2017
index.pt_BR.html Add link bahasa Indonesia Oct 28, 2017
index.ro_RO.html Add link bahasa Indonesia Oct 28, 2017
index.ru_RU.html Add link bahasa Indonesia Oct 28, 2017
index.tr_TR.html Add link bahasa Indonesia Oct 28, 2017
index.uk_UA.html Add link bahasa Indonesia Oct 28, 2017
index.vi_VN.html Merge remote-tracking branch 'upstream/gh-pages' into gh-pages Oct 28, 2017
index.zh_CN.html Add link bahasa Indonesia Oct 28, 2017
index.zh_TW.html Add link bahasa Indonesia Oct 28, 2017

README.md

git-flow-cheatsheet

A cheatsheet on the usage of git flow, visit http://danielkummer.github.com/git-flow-cheatsheet/

GIT FLOW

Git extensions to provide high-level repository operations for Vincent Driessen's branching model. Read more

INIT:

$ git flow init

TRACK DEVELOP REMOTELY ON GITHUB:

$ git push origin develop

FEATURES:

Use to develop new features starting from the develop branch. Merge back into develop branch waiting for a reasonable amount of features to be there before declaring it a release.

$ git flow feature
$ git flow feature start <name>
$ git flow feature finish <name>
usage: git flow feature [list] [-v]
       git flow feature start [-F] <name> [<base>]
       git flow feature finish [-rFk] <name|nameprefix>
       git flow feature publish <name>
       git flow feature track <name>
       git flow feature diff [<name|nameprefix>]
       git flow feature rebase [-i] [<name|nameprefix>]
       git flow feature checkout [<name|nameprefix>]
       git flow feature pull <remote> [<name>]

RELEASES:

Use to group together latest development (features) add a few finishing touches if necessary and send to production. All last changes will merge back to master and develop so new features will start from current release.

$ git flow release
$ git flow release start <release> [<base>]
$ git flow release finish <release>
usage: git flow release [list] [-v]
       git flow release start [-F] <version>
       git flow release finish [-Fsumpk] <version>
       git flow release publish <name>
       git flow release track <name>

HOTFIXES:

Similar to releases but the hotfix branch starts off master to avoid unvoluntary send to production of unwanted features that my be present in branches. The quick fix must be used when an important bug arises in production which must be fixed and can't wait for other features to be ready. It merges back to master and develop.

$ git flow hotfix
$ git flow hotfix start <release> [<base>]
$ git flow hotfix finish <release>
usage: git flow hotfix [list] [-v]
       git flow hotfix start [-F] <version> [<base>]
       git flow hotfix finish [-Fsumpk] <version>