Skip to main content

pull

plugin.git.pull(): Promise<GitPullResponse>

Pulls the latest changes from the remote repository to the local repository at the given path.

Parameters

No parameters.

Returns

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

Example

import plugin from '@codebolt/plugin-sdk';

const result = await plugin.git.pull();
console.log(result);