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
Push specific branch authenticated.
Syntax
public static void GitPush(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string username, string password, string branchName)
Examples
GitPush("c:/temp/cake", "username", "password", "branch");
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. |
branchName |
string |
Name of branch to push. |
Return Value