Skip to content

gitBranchName

gitBranchName(cwd): string | null

Defined in: git.ts:103

Current branch of the checkout, or null when detached, unborn, or git is unavailable.

string

string | null