Show Menu
Cheatography

Git Flow Cheat Sheet

Installing

OSX
$ brew install git-fl­ow-avh
OSX
$ port install git-fl­ow-avh
Linux
$ apt-get install git-flow
Windows (Cygwin)

Initialize

git flow init
 

Features

Start a new feature
git flow feature start NAME
Finish up a new feature
git flow feature finish NAME
Publish a feature
git flow feature publish NAME
Getting a published feature
git flow feature pull origin NAME
Tracking a feature
git flow feature track NAME
 

Releases

Start a release
git flow release start NAME
Start a release from a previous commit
git flow release start NAME [BASE]
Publish a release
git flow release publish NAME
Finish a release
git flow release finish NAME
Push tags after release
git push --tags

Hotfixes

Start a hotfix
git flow hotfix start VERSION
Start a hotfix with BASENAME
git flow hotfix start VERSION [BASENAME]
Finish a hotfix
git flow hotfix finish VERSION
   
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Git Cheat Sheet