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
Gets the specified configuration value. If the specified value is not found it will return the specified
default value.
Syntax
public static void GitConfigSetLocal<T>(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string key, T newValue)
Examples
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Type Parameters
Name |
Description |
T |
The type of configuration. |
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Repository path. |
key |
string |
The configuration key. |
newValue |
T |
The new value. |
Return Value