git-flow-rs-0.1.1 is not a library.
git-flow.rs
Extensible git flow written in rust.
Installation
# or download the released executable file.
Usage
git-flow --help
Extensible git flow written in rust.
Usage: git-flow <command>
Avaliable commands:
-h, --help
Print help
-v, --version
Print version
start [<branch_type> <branch_name>]/[<full_branch_name>]
start a task
finish [<branch_type> <branch_name>]/[<full_branch_name>]
finish a task
drop [<branch_type> <branch_name>]/[<full_branch_name>]
give up a task
track [<branch_type> <branch_name>]/[<full_branch_name>]
track a task
Configured branch types:
feature
from dev to dev
...
A small usage flow example using the configuration below.
# start a feature
# or git-flow start feature/something
# then branch feature/something created from dev
# implement the feature
# commit changes
# finish the feature
# then feature/something merged into dev and this branch deleted
Config
Global config file should located at ~/.config/git-flow/.git-flow.json
(or C:\Users\YourUsername\AppData\Roaming\git-flow\.git-flow.json
on windows).
Local config file should located at <GitRoot>/.git-flow.json
.
There is no default configuration builtin. Here is an example.
Avaliable strategy:
merge
,rebase
,cherry-pick
.