GitAliases.

GitInit(ICakeContext, DirectoryPath) Method

Summary

Init using default options.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static DirectoryPath GitInit(this ICakeContext context, DirectoryPath initDirectoryPath)

Examples

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
initDirectoryPath DirectoryPath The path to the working folder when initializing a standard ".git" repository.

Return Value

Type Description
DirectoryPath The path to the created repository.