Skip to content

LfsPreUploadOpts

LfsPreUploadOpts = object

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

Options for LFS pre-upload (§10.3)

Pre-upload allows pushing LFS objects before the refs push, enabling 2-phase commit patterns for improved reliability.

Properties

batchSize?

optional batchSize: number

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

Batch size for upload (default: 50, considers Windows 8KB limit)


oids?

optional oids: string[]

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

Object IDs to upload (if omitted, auto-detect pending objects)


remote?

optional remote: string

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

Remote name (default: ‘origin’)