Mock common problematic/tricky git scenarios using real repos.
Create a virtualenv, clone the repo, install the package:
conda create -n gitfails-env python=3.10
pip install -e ."[dev]"
The top-level command is gitfails
.
The first time the CLI is used, call gitfail init
to initialize configuration settings.
gitfails config set-working-dir <path/to/working/dir>
gitfails sc ls
gitfails sc create <name>
WARNING: this deletes all repos/files in the working directory.
gitfails sc remove