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