This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Git.
Summary
Get specific commit.
Syntax
public static GitCommit GitLogLookup(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string commitId)
Examples
var result = GitLogLookup("c:/temp/cake", "commit id");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Path to repository. |
commitId |
string |
Commit id to lookup. |
Return Value
Type |
Description |
GitCommit |
Commits with ID commitId. |