Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 895 Bytes

commit.md

File metadata and controls

38 lines (30 loc) · 895 Bytes
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.
type name
intrinsic
any
name category link
commit
git
commit.md

Example

const commitMessage = await codebolt.git.commit('test');

Explaination

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.