Skip to content

GitExec

GitExec = (args, options) => Promise<string>

Defined in: remote.ts:67

Runs git <args> in options.cwd and resolves its stdout; rejects when git exits non-zero. Injectable so callers’ tests don’t need a real repository.

string[]

string

Promise<string>