git sparse-checkout input extension
Extends the parameters for git sparse-checkout, making it easier to use from PowerShell.
EXAMPLE 1
git sparse-checkout -FileFilters *.ps1,*.psm1
The list of file filters to use. Filters that start with * or *. will be converted to **.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String[]] |
false | named | true (ByPropertyName) | FileFilters |
The list of directory filters to use If provided with a file filter, the directory filter will be used as a parent directory filter.
Type | Required | Position | PipelineInput | Aliases |
---|---|---|---|---|
[String[]] |
false | named | true (ByPropertyName) | DirectoryFilters |
Extensions/Git.Sparse.Checkout.input.ugit.extension.ps1 [-FileFilter <String[]>] [-DirectoryFilter <String[]>] [<CommonParameters>]