GitAliases.

GitPushRef(ICakeContext, DirectoryPath, string, string) Method

Summary

Push a tag to a remote unauthenticated.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

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

Type Description
void