A file system client.
An HTTP client.
Optional cache?: CacheA cache object.
Optional depth?: number | nullDetermines how much of the git repository's history to retrieve.
Optional exclude?: string[]A list of branches or tags. Instructs the remote server not to send us any commits reachable from these refs.
Optional gitdir?: stringThe git directory path (default: {dir}/.git).
Optional headers?: HttpHeadersAdditional headers to include in HTTP requests, similar to git's extraHeader config.
Optional onOptional auth fill callback.
Optional onOptional auth rejected callback.
Optional onOptional auth approved callback.
Optional onOptional message event callback.
Optional onOptional progress event callback.
Optional prune?: booleanDelete local remote-tracking branches that are not present on the remote.
Optional prunePrune local tags that don’t exist on the remote, and force-update those tags that differ.
Optional ref?: stringWhich branch to fetch if singleBranch is true. By default this is the current branch or the remote's default branch.
Optional relative?: booleanChanges the meaning of depth to be measured from the current shallow depth rather than from the branch tip.
Optional remote?: stringIf URL is not specified, determines which remote to use.
Optional remoteThe name of the branch on the remote to fetch if singleBranch is true. By default this is the configured remote tracking branch.
Optional since?: Date | nullOnly fetch commits created after the given date. Mutually exclusive with depth.
Optional singleInstead of the default behavior of fetching all the branches, only fetch a single branch.
Optional tags?: booleanAlso fetch tags.
Optional url?: stringThe URL of the remote repository. The default is the value set in the git config for that remote.
Generated using TypeDoc
The working tree directory path.