information about a commit

interface CommitInfo {
    author: { date: Date; email: string; name: string };
    committer: { date: Date; email: string; name: string };
    description: string;
    hash: string;
    message: string;
}

Properties

author: { date: Date; email: string; name: string }

author of the commit

Type declaration

  • date: Date

    date of the commit

  • email: string

    email of the author

  • name: string

    name of the author

committer: { date: Date; email: string; name: string }

committer of the commit

Type declaration

  • date: Date

    date of the commit

  • email: string

    email of the committer

  • name: string

    name of the committer

description: string

commit description

hash: string

full hash of the commit

message: string

commit message