GitCommit Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.Runtime.Serialization.DataContract]
public class GitCommit : Microsoft.TeamFoundation.SourceControl.WebApi.GitCommitRef
type GitCommit = class
inherit GitCommitRef
Public Class GitCommit
Inherits GitCommitRef
- Inheritance
- Attributes
Constructors
| GitCommit() |
Properties
| Author |
Author of the commit. (Inherited from GitCommitRef) |
| ChangeCounts |
Counts of the types of changes (edits, deletes, etc.) included with the commit. (Inherited from GitCommitRef) |
| Changes |
An enumeration of the changes included with the commit. (Inherited from GitCommitRef) |
| Comment |
Comment or message of the commit. (Inherited from GitCommitRef) |
| CommentTruncated |
Indicates if the comment is truncated from the full Git commit comment message. (Inherited from GitCommitRef) |
| CommitId |
ID (SHA-1) of the commit. (Inherited from GitCommitRef) |
| Committer |
Committer of the commit. (Inherited from GitCommitRef) |
| Links |
A collection of related REST reference links. (Inherited from GitCommitRef) |
| Parents |
An enumeration of the parent commit IDs for this commit. (Inherited from GitCommitRef) |
| Push | |
| Push |
The push associated with this commit. (Inherited from GitCommitRef) |
| RemoteUrl |
Remote URL path to the commit. (Inherited from GitCommitRef) |
| Statuses |
A list of status metadata from services and extensions that may associate additional information to the commit. (Inherited from GitCommitRef) |
| TreeId | |
| Url |
REST URL for this resource. (Inherited from GitCommitRef) |
| WorkItems |
A list of workitems associated with this commit. (Inherited from GitCommitRef) |
Methods
| SetSecuredObject(ISecuredObject) | |
| SetSecuredObject(ISecuredObject) | (Inherited from GitCommitRef) |
Explicit Interface Implementations
| ISecuredObject.GetToken() | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.NamespaceId | (Inherited from VersionControlSecuredObject) |
| ISecuredObject.RequiredPermissions | (Inherited from VersionControlSecuredObject) |