GitCommit interface
Provides properties that describe a Git commit and associated metadata.
- Extends
author | Author of the commit. |
change |
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. |
comment |
Indicates if the comment is truncated from the full Git commit comment message. |
commit |
ID (SHA-1) of the commit. |
committer | Committer of the commit. |
commit |
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. |
remote |
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. |
work |
A list of workitems associated with this commit. |
treeId: string
Property Value
string
Counts of the types of changes (edits, deletes, etc.) included with the commit.
changeCounts: ChangeCountDictionary
Property Value
Inherited From GitCommitRef.changeCounts
An enumeration of the changes included with the commit.
changes: GitChange[]
Property Value
Inherited From GitCommitRef.changes
Comment or message of the commit.
comment: string
Property Value
string
Inherited From GitCommitRef.comment
Indicates if the comment is truncated from the full Git commit comment message.
commentTruncated: boolean
Property Value
boolean
Inherited From GitCommitRef.commentTruncated
ID (SHA-1) of the commit.
commitId: string
Property Value
string
Inherited From GitCommitRef.commitId
Committer of the commit.
committer: GitUserDate
Property Value
Inherited From GitCommitRef.committer
Indicates that commit contains too many changes to be displayed
commitTooManyChanges: boolean
Property Value
boolean
Inherited From GitCommitRef.commitTooManyChanges
An enumeration of the parent commit IDs for this commit.
parents: string[]
Property Value
string[]
Inherited From GitCommitRef.parents
The push associated with this commit.
push: GitPushRef
Property Value
Inherited From GitCommitRef.push
Remote URL path to the commit.
remoteUrl: string
Property Value
string
Inherited From GitCommitRef.remoteUrl
A list of status metadata from services and extensions that may associate additional information to the commit.
statuses: GitStatus[]
Property Value
Inherited From GitCommitRef.statuses
A list of workitems associated with this commit.
workItems: ResourceRef[]
Property Value
Inherited From GitCommitRef.workItems