Ahead and behind counts for a particular ref.

interface GitBranchStats {
    aheadCount?: number;
    behindCount?: number;
    commit?: GitCommitRef;
    isBaseVersion?: boolean;
    name?: string;
}

Properties

aheadCount?: number

Number of commits ahead.

behindCount?: number

Number of commits behind.

commit?: GitCommitRef

Current commit.

isBaseVersion?: boolean

True if this is the result for the base version.

name?: string

Name of the ref.