コンテンツにスキップ

RepoLfsUninstallOpts

このコンテンツはまだ日本語訳がありません。

RepoLfsUninstallOpts = object

Defined in: src/core/repo.ts:1780

Options for repository-level LFS uninstall

Used with repo.lfs.uninstall() for repository-local LFS configuration removal.

Remarks

Internally runs git lfs uninstall --local by default, which modifies the repository’s .git/config file only.

For global or system-wide uninstallation, use git.lfs.uninstall() instead.

Properties

worktree?

optional worktree: boolean

Defined in: src/core/repo.ts:1788

Uninstall for worktree only (instead of repository)

Remarks

Internally uses --worktree flag instead of --local. Requires Git 2.20.0+ with worktreeConfig extension enabled.