GitHeadState
Where HEAD stood when a release started: the branch it is on (empty for a detached HEAD) and its commit.
Import:
import type { GitHeadState } from '@mnaoumov/typescript-dev-toolkit/version';Signature:
export interface GitHeadStateProperties
| Property | Type | Description |
|---|---|---|
| branch | string | The checked-out branch, or an empty string for a detached HEAD. |
| sha | string | The commit HEAD points at. |
Links to this page: