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?
optionalforce:boolean
Defined in: src/core/git.ts:163
Overwrite existing hooks
manual?
optionalmanual:boolean
Defined in: src/core/git.ts:177
Print commands instead of executing
skipRepo?
optionalskipRepo:boolean
Defined in: src/core/git.ts:175
Skip repository setup (only install filters)
skipSmudge?
optionalskipSmudge:boolean
Defined in: src/core/git.ts:173
Skip smudge filter (don’t download during checkout)
system?
optionalsystem: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.