Cake - API - GitAliases.GitCommit(ICakeContext, DirectoryPath, string, string, string) Method

GitAliases.

GitCommit(ICakeContext, DirectoryPath, string, string, string) Method

Summary

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

Syntax

public static GitCommit GitCommit(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string name, string email, string message)

Examples

GitCommit("c:/temp/cake", "name", "email", "message");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Path to repository.
name string Name of committer.
email string Email of committer.
message string Commit message.

Return Value

Type Description
GitCommit The path to the created repository.