Skip to content

keithchev/2022-git-fails

Repository files navigation

git-fails

Mock common problematic/tricky git scenarios using real repos.

Install

Create a virtualenv, clone the repo, install the package:

conda create -n gitfails-env python=3.10
pip install -e ."[dev]"

Usage

The top-level command is gitfails.

The first time the CLI is used, call gitfail init to initialize configuration settings.

Set the directory in which repos are created

gitfails config set-working-dir <path/to/working/dir>

List pre-defined scenarios

gitfails sc ls

Construct a scenario

gitfails sc create <name>

Cleanup by removing all scenarios

WARNING: this deletes all repos/files in the working directory.

gitfails sc remove

About

Construct common problematic git scenarios.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published