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 a tag to a remote authenticated.
Syntax
public static void GitPushRef(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string username, string password, string remote, string pushRefSpec)
Examples
GitPushRef("c:/temp/cake", "username", "password", "remote", "refSpec");
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. |
remote |
string |
The LibGit2Sharp.Remote to push to. |
pushRefSpec |
string |
The pushRefSpec to push. |
Return Value