Cake - API - GitAliases.GitDiff(ICakeContext, DirectoryPath) Method

GitAliases.

GitDiff(ICakeContext, DirectoryPath) Method

Summary

Get changed files from inital commit id up to current.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static ICollection<GitDiffFile> GitDiff(this ICakeContext context, DirectoryPath repositoryDirectoryPath)

Examples

var result = GitDiff("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
ICollection<T> The path to the created repository.