Skip to content

GitFetchOptions

GitFetchOptions = GitCommandOptions & object

Defined in: fetch.ts:5

optional depth?: number

Shallow-fetch depth passed to --depth — only the history needed to resolve refspec is transferred.

https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---depthltdepthgt

optional filter?: string

Object filter passed to --filter, e.g. "blob:none" to omit blob objects until a later checkout needs them.

https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---filterltfilter-specgt