logs
codebolt.git.logs(path: string): Promise<any>
Retrieves the commit logs for the local repository at the given path.
Parameters
Name | Type | Description |
---|---|---|
path | string | The file system path of the local Git repository. |
Returns:
Promise<any>
A promise that resolves with the response from the logs event.Status
Comming soon...
Example
await git.logs('/path/to/repo')
Explaination
Displays the commit logs of the local repository.
path: A string specifying the local repository path.