GitAliases.

GitLogTip(ICakeContext, DirectoryPath) Method

Summary

Get last commit
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static GitCommit GitLogTip(this ICakeContext context, DirectoryPath repositoryDirectoryPath)

Examples

var result = GitLogTip("c:/temp/cake");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Path to repository.

Return Value

Type Description
GitCommit The path to the created repository.