Skip to content

gitHeadSha

gitHeadSha(cwd): string | null

Defined in: git.ts:95

Current commit of the checkout, or null when git is missing, cwd is not a repository, or HEAD is unborn.

string

string | null