コンテンツにスキップ

GlobalLfsInstallOpts

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

GlobalLfsInstallOpts = object

Defined in: src/core/git.ts:161

Options for global LFS install

Used with git.lfs.install() for user-level (~/.gitconfig) or system-level (/etc/gitconfig) LFS configuration.

Remarks

Internally runs git lfs install without --local flag. For repository-level installation, use repo.lfs.install() instead.

Properties

force?

optional force: boolean

Defined in: src/core/git.ts:163

Overwrite existing hooks


manual?

optional manual: boolean

Defined in: src/core/git.ts:177

Print commands instead of executing


skipRepo?

optional skipRepo: boolean

Defined in: src/core/git.ts:175

Skip repository setup (only install filters)


skipSmudge?

optional skipSmudge: boolean

Defined in: src/core/git.ts:173

Skip smudge filter (don’t download during checkout)


system?

optional system: boolean

Defined in: src/core/git.ts:171

Install for all users (system-wide)

Remarks

Internally adds --system flag to install to /etc/gitconfig instead of ~/.gitconfig. Requires appropriate permissions.