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 unauthenticated.
Syntax
public static void GitPushRef(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string remote, string pushRefSpec)
Examples
GitPushRef("c:/temp/cake", "remote", "refSpec");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Repository path. |
remote |
string |
The LibGit2Sharp.Remote to push to. |
pushRefSpec |
string |
The pushRefSpec to push. |
Return Value