AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns information about a specific commit.
Namespace: Amazon.CodeCommit.Model
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public class Commit
The Commit type exposes the following members
Name | Description | |
---|---|---|
Commit() |
Name | Type | Description | |
---|---|---|---|
AdditionalData | System.String |
Gets and sets the property AdditionalData. Any other data associated with the specified commit. |
|
Author | Amazon.CodeCommit.Model.UserInfo |
Gets and sets the property Author. Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git. |
|
CommitId | System.String |
Gets and sets the property CommitId. The full SHA ID of the specified commit. |
|
Committer | Amazon.CodeCommit.Model.UserInfo |
Gets and sets the property Committer. Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub. |
|
Message | System.String |
Gets and sets the property Message. The commit message associated with the specified commit. |
|
Parents | System.Collections.Generic.List<System.String> |
Gets and sets the property Parents. A list of parent commits for the specified commit. Each parent commit ID is the full commit ID. |
|
TreeId | System.String |
Gets and sets the property TreeId. Tree information for the specified commit. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5