GitAliases.

GitReset(ICakeContext, DirectoryPath, GitResetMode, string) Method

Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static void GitReset(this ICakeContext context, DirectoryPath repositoryDirectoryPath, GitResetMode mode, string commitId)

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext
repositoryDirectoryPath DirectoryPath
mode GitResetMode
commitId string

Return Value

Type Description
void