Skip to content
AlanQuatermain edited this page Mar 28, 2013 · 2 revisions
git flow release [list] [-v]
git flow release start [-F] <version> [<base>]
git flow release finish [-Fsumpk] <version>
git flow release publish <name>
git flow release track <name>

Provides commands for managing releases.

git flow release list

Displays the names of all existing release branches (without the release/ prefix) in the current repository.

Options

-v
Optional.
Show the relationship between this branch and `develop`.

git flow release start

Creates a new release branch from the current HEAD of the develop branch, using the provided version number. The current branch MUST be develop. Following creation, the new branch is checked out.

Options

-F
Optional.
Fetch from the origin repository before branching.
<version>
The version number for this release; used to generate the branch name

git flow release finish

Merges an existing release branch into the master and develop branches and creates a release tag. Deletes the release branch after merging and tagging.

Options

-F
Optional.
Fetch from the origin repository before finishing the release branch.
-s
Optional.
Cryptographically sign the release tag.
-u
Optional.
Use the given GPG key to sign the release tag. Implies -s.
-m
Optional.
Use the given tag message instead of prompting for one interactively.
-p
Optional.
Push to origin after performing the release.
<version>
The release version number to operate upon; used to infer the branch name.

git flow release publish

Publishes a release branch on the origin repository, allowing other users to track it.

Options

<name>
The target release's version number; used to infer the branch name.

git flow release publish

Pulls and tracks a release branch published by another user.

Options

<name>
The target release's version number; used to infer the branch name.