git flow feature

Manage your feature branches

Synopsis

git flow feature [-h|--help]
git flow feature list [-v|--verbose]
git flow feature finish [-F|--fetch] [-r|--rebase]
                  [-k|--keep] [-D|--force-delete] [nameprefix]
git flow feature checkout nameprefix
git flow feature diff [nameprefix]
git flow feature rebase [nameprefix]
git flow feature publish [nameprefix]
git flow feature pull remote [name]
git flow feature track name

git flow feature list - List feature branches

Synopsis
git flow feature list [-v|--verbose]
Description

List all existing feature branches in the local repository.

Options
-h, --help Show help message and exit.
-v, --verbose Be verbose (more output).

git flow feature start - Start a new feature branch

Synopsis
git flow feature start [-F|--fetch] name [base]
Description

Start new feature name, optionally basing it on base instead of develop.

Options
-h, --help Show help message and exit.
-F, --fetch Fetch from origin before performing local operation.

git flow feature finish - Finish a feature branch

Synopsis
git flow feature finish [-F|--fetch] [-r|--rebase]
                  [-k|--keep] [-D|--force-delete] [nameprefix]
Description

Finish an existing feature branch.

If nameprefix is not given, finish the current branch if it is a feature branch.

If nameprefix is given and exactly one feature branch starts with nameprefix, finish that one.

Options
-h, --help Show help message and exit.
-F, --fetch Fetch from origin before performing local operation.
-r, --rebase Finish branch by rebasing first.
-k, --keep Keep branch after performing finish.
-D, --force-delete
 Force delete feature branch after finish.

git flow feature checkout - Check out a feature branch

Synopsis
git flow feature checkout nameprefix
Description

If exactly one feature branch starts with nameprefix, check out (switch to) that branch.

Options
-h, --help Show help message and exit.

git flow feature diff - Show a diff since this feature branched off

Synopsis
git flow feature diff [nameprefix]
Description

Show all changes since this feature branched off from develop.

If nameprefix is not given, diff the current branch if it is a feature branch.

If nameprefix is given and exactly one feature branch starts with nameprefix, diff that one.

Options
-h, --help Show help message and exit.

git flow feature rebase - Rebase a feature branch on top of develop

Synopsis
git flow feature rebase [nameprefix]
Description

Rebase a feature branch on top of develop (or whatever is configured as develop for gitflow.)

If nameprefix is not given, rebase the current branch if it is a feature branch.

If nameprefix is given and exactly one feature branch starts with nameprefix, rebase that one.

Options
-h, --help Show help message and exit.
-i, --interactive
 Start an interactive rebase.

git flow feature publish - Publish a feature branch to origin

Synopsis
git flow feature publish [nameprefix]
Description

Publish a feature branch, with the given name or name-prefix, on origin (or whatever is configured as remote for gitflow.)

If nameprefix is not given, publish the current branch if it is a feature branch.

If nameprefix is given and exactly one feature branch starts with nameprefix, publish that one.

Options
-h, --help Show help message and exit.

git flow feature pull - Pull a feature branch from a remote peer

Synopsis
git flow feature pull remote [name]
Description

Pull a feature branch from a remote peer.

Positional arguments
remote:Remote repository to pull from.
name:Name of the feature branch to pull. Defaults to the current branch, if it is a feature branch.
Options
-h, --help Show help message and exit.

git flow feature track - Track a feature branch from a remote peer

Synopsis
git flow feature track name
Description

Start tracking a feature branch, with the given name, from origin (or whatever is configured as remote for gitflow.)

Positional arguments
name:Name of the feature branch to track.
Options
-h, --help Show help message and exit.

See also

git flow(1)

Project Homepage https://github.com/htgoebel/gitflow