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 commit from certain commit id up to current.
Syntax
public static ICollection<GitCommit> GitLog(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string sinceCommitId)
Examples
var result = GitLog("c:/temp/cake", "since commit id");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Path to repository. |
sinceCommitId |
string |
Commit id to start fetching from. |
Return Value
Type |
Description |
ICollection<GitCommit> |
Commits in the repository passed in repositoryDirectoryPath which have sinceCommitId as parent. |