< Back
Remove-Branch
Post
NAME Remove-Branch
SYNOPSIS
Drops the specified local branch from the current git repository.
SYNTAX
Remove-Branch [-Branch] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Branch <String>
Name of the local branch to drop.
Required? true
Position? 1
Default value
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
You cannot pipe input to this function.
OUTPUTS
Nothing is output from this function.
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
Drops the specified local branch from the current git repository.
SYNTAX
Remove-Branch [-Branch] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Branch <String>
Name of the local branch to drop.
Required? true
Position? 1
Default value
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
You cannot pipe input to this function.
OUTPUTS
Nothing is output from this function.
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/