name |
cbbaseinfo |
cbparameters |
data |
init |
description |
Initializes a new Git repository at the given path. |
|
parameters |
returns |
name |
typeName |
description |
path |
string |
The file system path where the Git repository should be initialized. |
|
|
signatureTypeName |
description |
typeArgs |
Promise |
A promise that resolves with the response from the init event. |
|
|
|
name |
category |
link |
init |
git |
init.md |
|
Comming soon...
await codebolt.git.init('/path/to/repo')
Initialize a new Git repository in the specified directory. It has one parameter.
path: A string specifying the directory path where the new Git repository should be initialized.