GitLinkAliases.

GitLink(ICakeContext, DirectoryPath, GitLinkSettings) Method

Summary

Update pdb files to link all sources, using specified settings. This will allow anyone to step through the source code while debugging without a symbol source server.
Namespace
Cake.Common.Tools.GitLink
Containing Type
GitLinkAliases

Syntax

[CakeMethodAlias]
public static void GitLink(this ICakeContext context, DirectoryPath repositoryRootPath, GitLinkSettings settings)

Examples

GitLink("C:/temp/solution", new GitLinkSettings {
    RepositoryUrl = "http://mydomain.com",
    Branch        = "master",
    ShaHash       = "abcdef",
});

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
repositoryRootPath DirectoryPath The path to the Root of the Repository to analyze.
settings GitLinkSettings The settings.

Return Value

Type Description
void