Skip to content

createGit

createGit(options): Promise<Git>

Defined in: src/impl/git-impl.ts:835

Create a new Git instance with optional version check

Parameters

options

CreateGitOptions

Creation options including runtime adapters

Returns

Promise<Git>

Git instance

Throws

GitError with kind ‘UnsupportedGitVersion’ if Git version is below minimum