< Back
Reset-RepoCache
Post
NAME Reset-RepoCache
SYNOPSIS
Resets the cache for the specified repository. WARNING: This will undo all uncommitted changes.
SYNTAX
Reset-RepoCache [-Name] <String[]> [-Path <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Reset-RepoCache [-Name] <String[]> [-LiteralPath <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String[]>
repositories to reset the cache on
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Path <String>
path to repositories folder, ${global:AF4JMsrcPath} if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LiteralPath <String>
literal path to repositories folder, ${global:AF4JMsrcPath} if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates whether the output of this function should be the function input or nothing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
The repository name.
OUTPUTS
Pipeline input, if -PassThru is $true; otherwise this function does not generate any output.
NOTES
Author: John Meyer, AF4JM
Copyright (c) John Meyer. Licensed under the MIT License.
https://github.com/af4jm/GitHelper/blob/master/LICENSE
RELATED LINKS
https://www.powershellgallery.com/packages/GitHelper/
https://github.com/af4jm/GitHelper/
SYNOPSIS
Resets the cache for the specified repository. WARNING: This will undo all uncommitted changes.
SYNTAX
Reset-RepoCache [-Name] <String[]> [-Path <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Reset-RepoCache [-Name] <String[]> [-LiteralPath <String>] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String[]>
repositories to reset the cache on
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Path <String>
path to repositories folder, ${global:AF4JMsrcPath} if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-LiteralPath <String>
literal path to repositories folder, ${global:AF4JMsrcPath} if not specified
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates whether the output of this function should be the function input or nothing.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
The repository name.
OUTPUTS
Pipeline input, if -PassThru is $true; otherwise this function does not generate any output.
NOTES
Author: John Meyer, AF4JM
Copyright (c) John Meyer. Licensed under the MIT License.
https://github.com/af4jm/GitHelper/blob/master/LICENSE
RELATED LINKS
https://www.powershellgallery.com/packages/GitHelper/
https://github.com/af4jm/GitHelper/