Skip to content

gitInit

gitInit(options?): Promise<void>

Defined in: init.ts:11

Initializes a new, empty git repository (in options.execOptions.cwd, or the process’s own working directory when omitted).

GitCommandOptions

Promise<void>

https://git-scm.com/docs/git-init