Git Flow Cheat Sheet

A Programming › Git cheat sheet in English by victornalves

Git Flow Cheat Sheet

9,784 views 2,658 downloads 19 Aug 2017 History
3.2 avg · 1 rating

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

Badges

Nice Cheat Sheet Good Cheat Sheet

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.