Skip to content

changedFiles

changedFiles(cwd, base, head): string[]

Defined in: git.ts:76

Repo-relative files changed between base and head, including staged and untracked working-tree files. Throws when git cannot diff.

string

Repository root.

string

Ancestor commit (baseline).

string

Current commit.

string[]