git-flow-rs-0.2.0 is not a library.
git-flow.rs
Extensible git flow written in rust.
Extensible: Customize the workflow that suits your preferences.
Follow configuration: Standardize team protocols.
Installation
Or download released binary.
Usage
git flow --help
Make sure that you have installed git.
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
sync remote/local [--override]
sync branches to remote/local
Configured branch types:
feature
from dev to dev
...
A small example.
# 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 be 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 be located at <GitRoot>/.git-flow.json.
There is no default configuration. Here is an example.
Avaliable strategy:
merge,rebase,cherry-pick. Regex is avaliable onto.n.branch.