/** The git a release speaks, scoped to one repository. */ export interface Git { /** Whether the tree has no uncommitted changes. */ clean(): Promise; branch(): Promise; /** The commit HEAD is at. */ head(): Promise; /** Where releases go out from. */ defaultBranch(): Promise; /** Commits every tracked change. A clean tree is already committed, so it passes. */ commitAll(message: string): Promise; /** Tags the commit at HEAD. A tag already there is left where it is. */ tag(tag: string): Promise; push(ref: string): Promise; /** The names of origin's tags matching `pattern`, a glob such as `v*`. */ remoteTags(pattern: string): Promise; }