This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Git.
Summary
Commit using default options.
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. |