GitAliases.

GitPush(ICakeContext, DirectoryPath, string, string) Method

Summary

Push all branches authenticated.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static void GitPush(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string username, string password)

Examples

GitPush("c:/temp/cake", "username", "password");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Repository path.
username string Username used for authentication.
password string Password used for authentication.

Return Value

Type Description
void