GitCommands

interface GitCommands

Minimal seam over the git CLI, so the baseline logic can be unit-tested with a fake and exercised with a real repo in an integration test.

Inheritors

Functions

Link copied to clipboard
abstract fun run(vararg args: String): String

Runs git <args> in the repo and returns stdout; throws on a non-zero exit.