name |
cbbaseinfo |
cbparameters |
data |
commit |
description |
Commits the staged changes in the local repository with the given commit message. |
|
parameters |
returns |
name |
typeName |
description |
message |
string |
The commit message to use for the commit. |
|
|
signatureTypeName |
description |
typeArgs |
Promise |
A promise that resolves with the response from the commit event. |
|
|
|
name |
category |
link |
commit |
git |
commit.md |
|
const commitMessage = await codebolt.git.commit('test');
To use the codebolt.git.commit method properly, you need to understand how to make a commit in a Git repository using this method. The codebolt.git.commit function is likely used to commit changes in a Git repository with a specified commit message.