Interface Commit

A Git commit.

interface Commit {
    author: CommitIdentity;
    body?: string;
    parentSHAs?: string[];
    sha: string;
    summary: string;
}

Hierarchy (view full)

Properties

Information about the author of this commit. It includes name, email and date.

body?: string

The commit message without the first line and CR.

parentSHAs?: string[]

The SHAs for the parents of the commit.

sha: string

The commit SHA.

summary: string

The first line of the commit message.