name |
cbbaseinfo |
cbparameters |
data |
add |
description |
Adds changes in the local repository to the staging area at the given path. |
|
parameters |
returns |
name |
typeName |
description |
path |
string |
The file system path of the local Git repository. |
|
|
signatureTypeName |
description |
typeArgs |
Promise |
A promise that resolves with the response from the add event. |
|
|
|
name |
category |
link |
add |
git |
add.md |
|
Comming soon...
await git.add('/path/to/repo/file.txt')
Add changes in the specified directory to the staging area. It has one parameter.
path: A string specifying the path of the directory or files to be added.