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
Removes from the staging area all the modifications of a collection of file since the latest commit (addition, updation or removal).
Syntax
public static void GitUnstage(this ICakeContext context, DirectoryPath repositoryDirectoryPath, params FilePath[] filePaths)
Examples
var filePaths = new FilePath[] { ".\\test.txt" };
GitUnstage("c:/temp/cake", filePaths);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Path to repository. |
filePaths |
FilePath[] |
Path to file(s) to unstage. |
Return Value