GitFetchOptions
GitFetchOptions =
GitCommandOptions&object
Defined in: fetch.ts:5
Type Declaration
Section titled “Type Declaration”depth?
Section titled “depth?”
optionaldepth?: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
filter?
Section titled “filter?”
optionalfilter?: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