GitAliases.

GitClean(ICakeContext, DirectoryPath) Method

Summary

Remove untracked file(s) workspace.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static void GitClean(this ICakeContext context, DirectoryPath repositoryDirectoryPath)

Examples

var filePaths = new FilePath[] { ".\\test.txt" };
GitClean("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
void