Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://danielkummer.github.io/git-flow-cheatsheet/

A cheatsheet on the usage of git flow
https://danielkummer.github.io/git-flow-cheatsheet/

Last synced: about 1 month ago
JSON representation

A cheatsheet on the usage of git flow

Lists

README

        

git-flow-cheatsheet
===================

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

GIT FLOW
========

Git extensions to provide high-level repository operations for Vincent Driessen's branching model. [Read more](http://nvie.com/posts/a-successful-git-branching-model/)

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
$ git flow feature finish
```

```
usage: git flow feature [list] [-v]
git flow feature start [-F] []
git flow feature finish [-rFk]
git flow feature publish
git flow feature track
git flow feature diff []
git flow feature rebase [-i] []
git flow feature checkout []
git flow feature pull []
```

**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 []
$ git flow release finish
```
```
usage: git flow release [list] [-v]
git flow release start [-F]
git flow release finish [-Fsumpk]
git flow release publish
git flow release track
```

**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 []
$ git flow hotfix finish
```
```
usage: git flow hotfix [list] [-v]
git flow hotfix start [-F] []
git flow hotfix finish [-Fsumpk]
```