Skip to content

excludePath

excludePath(repoPath): string

Defined in: src/shepherd-exclude.ts:73

Returns the path to .git/info/exclude for the repo rooted at repoPath, resolved via the git common-dir so it covers the main checkout AND every linked worktree (they all share the same common-dir).

Synchronous. Throws on git rev-parse failure (no git repo, etc.).

string

string