Skip to content

GitCommandOptions

GitCommandOptions = object

Defined in: command-options.ts:10

Common options accepted by every git-subcommand wrapper in this package.

optional execOptions?: Omit<ExecFileOptions, "signal" | "encoding">

Defined in: command-options.ts:19

Additional options to pass to the underlying execFileAsync call, including cwd — the git repository to run the command in. Defaults to execFileAsync’s own default (process.cwd()) when omitted.


optional signal?: AbortSignal | null

Defined in: command-options.ts:12

An optional AbortSignal that can be used to abort the operation.