Skip to content

Latest commit

 

History

History
228 lines (149 loc) · 3.85 KB

Reference:-git-flow-feature.md

File metadata and controls

228 lines (149 loc) · 3.85 KB

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] [-p] [-k] [-D] [-S] [--no-ff] <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 before merging

-p,--[no]preserve-merges
preserve merges while rebasing

-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

--no-ff
never fast-forward during the 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 <base_branch>

Synopsis

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

Options

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

--showcommands
Show git commands while executing them

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

-p, --[no]preserve-merges
preserve merges


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


git flow feature rename - Rename a feature branch

Description

Rename branch <name> to <new_name>

Synopsis

git flow feature rename [-h] <new_name> [<name>]

Options

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

--showcommands
Show git commands while executing them