Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/package-deps-hash > ensureGitMinimumVersion

ensureGitMinimumVersion() function

Checks the git version and throws an error if it is less than the minimum required version.

Signature:

export declare function ensureGitMinimumVersion(gitPath?: string): void;

Parameters

Parameter

Type

Description

gitPath

string

(Optional)

Returns:

void