Interface GistCommit

Represents a single commit in a gist's history.

interface GistCommit {
    change_status: { additions: number; deletions: number; total: number };
    committed_at: string;
    url: string;
    user: null | GitHubUser;
    version: string;
}

Properties

change_status: { additions: number; deletions: number; total: number }

Change status for this commit

committed_at: string

ISO 8601 committed timestamp

url: string

The commit URL

user: null | GitHubUser

The user who made this commit

version: string

The commit version (SHA)