git_dag.git_commands.GitCommandBase

class git_dag.git_commands.GitCommandBase(path: str | Path = '.')[source]

Bases: object

Base class for git commands.

Methods

run_general

Run a general command.

static run_general(command: str, env: dict[str, str] | None = None, encoding: str = 'utf-8', expected_stderr: str | None = None) str[source]

Run a general command.