GitAliases.

GitFetch(ICakeContext, DirectoryPath, string) Method

Summary

Download objects and refs from another repository.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static void GitFetch(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string remoteName = "origin")

Examples

GitFetch("c:/temp/cake");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Path to repository.
remoteName string The name of the remote to fetch. Default is origin

Return Value

Type Description
void