Skip to main content

pull

codebolt.git.pull(path: string): Promise<any>
Pulls the latest changes from the remote repository to the local repository at the given path.

Parameters

NameTypeDescription
pathstringThe file system path of the local Git repository.

Returns:

 Promise<any>
A promise that resolves with the response from the pull event.

Status

Work Progress...

Example


await git.pull('/path/to/repo')

Explaination

Pulls the latest changes from the remote repository into the local repository.

path: A string specifying the local repository path.