Commit
Returns information about a specific commit.
Contents
- additionalData
-
Any other data associated with the specified commit.
Type: String
Required: No
-
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.
Type: UserInfo object
Required: No
- commitId
-
The full SHA ID of the specified commit.
Type: String
Required: No
- 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. Type: UserInfo object
Required: No
- message
-
The commit message associated with the specified commit.
Type: String
Required: No
- parents
-
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.
Type: Array of strings
Required: No
- treeId
-
Tree information for the specified commit.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: