GitCommitRef interface

Provides properties that describe a Git commit and associated metadata.

Properties

author

Author of the commit.

changeCounts

Counts of the types of changes (edits, deletes, etc.) included with the commit.

changes

An enumeration of the changes included with the commit.

comment

Comment or message of the commit.

commentTruncated

Indicates if the comment is truncated from the full Git commit comment message.

commitId

ID (SHA-1) of the commit.

committer

Committer of the commit.

commitTooManyChanges

Indicates that commit contains too many changes to be displayed

parents

An enumeration of the parent commit IDs for this commit.

push

The push associated with this commit.

remoteUrl

Remote URL path to the commit.

statuses

A list of status metadata from services and extensions that may associate additional information to the commit.

url

REST URL for this resource.

workItems

A list of workitems associated with this commit.

Property Details

author

Author of the commit.

author: GitUserDate

Property Value

changeCounts

Counts of the types of changes (edits, deletes, etc.) included with the commit.

changeCounts: ChangeCountDictionary

Property Value

changes

An enumeration of the changes included with the commit.

changes: GitChange[]

Property Value

comment

Comment or message of the commit.

comment: string

Property Value

string

commentTruncated

Indicates if the comment is truncated from the full Git commit comment message.

commentTruncated: boolean

Property Value

boolean

commitId

ID (SHA-1) of the commit.

commitId: string

Property Value

string

committer

Committer of the commit.

committer: GitUserDate

Property Value

commitTooManyChanges

Indicates that commit contains too many changes to be displayed

commitTooManyChanges: boolean

Property Value

boolean

parents

An enumeration of the parent commit IDs for this commit.

parents: string[]

Property Value

string[]

push

The push associated with this commit.

push: GitPushRef

Property Value

remoteUrl

Remote URL path to the commit.

remoteUrl: string

Property Value

string

statuses

A list of status metadata from services and extensions that may associate additional information to the commit.

statuses: GitStatus[]

Property Value

url

REST URL for this resource.

url: string

Property Value

string

workItems

A list of workitems associated with this commit.

workItems: ResourceRef[]

Property Value