Skip to main content

pull

codebolt.git.pull(path: string): Promise
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.

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.