Skip to main content

push

codebolt.git.push(path: string): Promise<any>
Pushes local repository changes to the remote 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 push event.

Status

Comming soon...

Example


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

Explaination

Push local changes to the remote repository. It has one parameter.

path: A string specifying the local repository path.