Skip to content

gitFetch

gitFetch(remote, refspec, options?): Promise<void>

Defined in: fetch.ts:30

Fetches refspec (a branch, tag, or full commit SHA the remote exposes, reachable or not) from remote into the object store at options.execOptions.cwd.

string

string

GitFetchOptions

Promise<void>

https://git-scm.com/docs/git-fetch