Fetch commits from a remote repository.
Resolves successfully when fetch completes.
const result = await fetch({ fs, http, dir: '/tutorial', url: 'https://github.com/NotesHubApp/git-essentials', ref: 'main', depth: 1, singleBranch: true, tags: false})console.log(result)
Generated using TypeDoc
Fetch commits from a remote repository.
Returns
Resolves successfully when fetch completes.
Example