Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 812 Bytes

init.md

File metadata and controls

42 lines (31 loc) · 812 Bytes
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.
type name
intrinsic
any
name category link
init
git
init.md

Status

Comming soon...

Example

await codebolt.git.init('/path/to/repo')

Explaination

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.