Skip to content

Reference: git flow feature

Peter van der Does edited this page Jan 6, 2013 · 6 revisions

Reference: git flow feature

git flow feature [list] [-v] - Lists existing feature branches

Description

Lists all the existing feature branches in the local repository.

Synopsis

git flow feature [list] [-h] [-v]

Options

-h,--[no]help show this help

-v,--[no]verbose verbose (more) output


git flow feature start - Start a new feature branch

Description

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

Synopsis

git flow feature start [-h] [-F] <name> [<base>]

Options

-h,--[no]help show this help

--showcommands
Show git commands while executing them

-F,--[no]fetch
fetch from origin before performing local operation


git flow feature finish - Finish a existing feature

Description

Finish feature <name>

Synopsis

git flow feature finish [-h] [-F] [-r] [-k] [-D] [-S] <name|nameprefix>

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them

-F,--[no]fetch
fetch from origin before performing finish

-r,--[no]rebase
rebase instead of merge

-k,--[no]keep
keep branch after performing finish

--[no]keepremote
keep the remote branch

--[no]keeplocal
keep the local branch

-D,--[no]force_delete
force delete feature branch after finish

-S,--[no]squash
squash feature during merge


git flow feature publish - Publish feature branch

Description

Publish feature branch <name> on $ORIGIN

Synopsis

git flow feature publish [-h] <name>

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them


git flow feature track - Track a feature branch

Description

Start tracking feature <name> that is shared on $ORIGIN

Synopsis

git flow feature track [-h] <name>

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them


git flow feature diff - Show all changes of the feature branch

Description

Show all changes in <name> that are not in <develop>

Synopsis

git flow feature diff [-h] [<name|nameprefix>]

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them


git flow feature rebase - Perform a rebase

Description

Rebase <name> on <develop>

Synopsis

git flow feature rebase [-h] [-i] [<name|nameprefix>]

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them

-i,--[no]interactive
do an interactive rebase


git flow feature checkout - Checkout the feature branch

Description

Switch to feature branch <name>

Synopsis

git flow feature checkout [-h] [<name|nameprefix>]

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them


git flow feature pull - Pull feature branch

Description

Pull feature <name> from <remote>

Synopsis

git flow feature pull [-h] <remote> [<name>]

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them


git flow feature delete - Delete a feature branch

Description

Deletes a given feature branch

Synopsis

git flow feature delete [-h] [-f] [-r] <name>

Options

-h,--[no]help
show this help

--showcommands
Show git commands while executing them

-f,--[no]force
force deletion

-r,--[no]remote
delete remote branch