Scroll to navigation

GIT-FEATURE(1) Git Extras GIT-FEATURE(1)

NAME

git-feature - Create/Merge feature branch

SYNOPSIS

git-feature [-a|--alias branch_prefix] [-r|--remote [remote_name]] [finish] <name>

DESCRIPTION

Create/Merge the given feature branch

OPTIONS

<-a|--alias branch_prefix>

use branch_prefix instead of feature

<-r|--remote [remote_name]>

Setup a remote tracking branch using remote_name. If remote_name is not supplied, use origin by default.

<finish>

Merge and delete the feature branch.

<name>

The name of the feature branch.

EXAMPLES

$ git feature dependencies
`...`
$ (feature/dependencies) git commit -m "Some changes"
`...`
$ (feature/dependencies) git checkout master
$ git feature finish dependencies
$ git alias features "feature -a features"
$ git features dependencies
$ (features/dependencies) ...
$ (features/dependencies) git checkout master
$ git features finish dependencies
$ git feature dependencies -r upstream

AUTHOR

Written by Jesus Espino <jespinog@gmail.com>
Modified by Mark Pitman <mark.pitman@gmail.com>

REPORTING BUGS

<https://github.com/tj/git-extras/issues>

SEE ALSO

<https://github.com/tj/git-extras>
September 2018