GitOpenOptions
GitOpenOptions =
object
Defined in: src/core/types.ts:378
Options for opening a repository with environment isolation (§6.3)
Provides declarative environment configuration for Git operations.
Properties
credential?
optionalcredential:CredentialConfig
Defined in: src/core/types.ts:399
Credential configuration (§6.4)
credentialHelper?
optionalcredentialHelper:string
Defined in: src/core/types.ts:384
Custom credential helper
env?
optionalenv:Record<string,string>
Defined in: src/core/types.ts:386
Additional environment variables
home?
optionalhome:string
Defined in: src/core/types.ts:380
Custom HOME directory (~/.gitconfig source)
ignoreSystemConfig?
optionalignoreSystemConfig:boolean
Defined in: src/core/types.ts:382
Ignore system config (—config-env=GIT_CONFIG_GLOBAL=/dev/null equivalent)
inheritEnv?
optionalinheritEnv:EnvInheritance
Defined in: src/core/types.ts:395
Controls how the parent process environment is inherited by spawned Git commands.
By default, only a curated allowlist of variables that Git needs to operate is
inherited (environment variable traversal prevention). Set to true to inherit the
full parent environment, or provide an array of variable names to opt additional
variables back in.
lfs?
optionallfs:LfsMode
Defined in: src/core/types.ts:401
LFS mode configuration
pathPrefix?
optionalpathPrefix:string[]
Defined in: src/core/types.ts:397
Directories to prepend to PATH