Show Menu

Git Flow Cheat Sheet by

Git Flow Cheat Sheet
git     git-flow

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

Download the Git Flow Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/victornalves_git-flow.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

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
          Git Flow Cheat Sheet