GitAliases.

GitPull(ICakeContext, DirectoryPath, string, string, string, string, string) Method

Summary

Pull authenticating using default options.
Assembly
Cake.Git.dll
Namespace
Cake.Git
Containing Type
GitAliases

Syntax

public static GitMergeResult GitPull(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string mergerName, string mergerEmail, string username, string password, string remoteName)

Examples

var result = GitPull("c:/temp/cake", "name", "email", "username", "password", "remote");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
repositoryDirectoryPath DirectoryPath Repository path.
mergerName string The name of the merger.
mergerEmail string The email of the merger.
username string Username used for authentication.
password string Password used for authentication.
remoteName string Name of remote to pull from.

Return Value

Type Description
GitMergeResult The path to the created repository.