< Back
Remove-Comments
Post
NAME Remove-Comments
SYNTAX
Remove-Comments [-File] <FileInfo> [<CommonParameters>]
PARAMETERS
-File <FileInfo>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
description : {@{Text=This script will remove all branches which were already merged to the current branch}}
syntax : @{syntaxItem=@{name=Remove-MergedBranches;
parameter=@{description=System.Management.Automation.PSObject[]; parameterValue=String[];
name=Branches; required=false; globbing=false; pipelineInput=false; position=1}}}
parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=@("master",
"develop"); parameterValue=String[]; name=Branches; type=@{name=String[]}; required=false;
globbing=false; pipelineInput=false; position=1}}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Remove-MergedBranches; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Remove-MergedBranches
Category : Function
Synopsis : Helper script for removing merged branches
Component :
Role :
Functionality :
ModuleName : NullKit
description : {@{Text=This script will remove all remote branches which were already merged to the current branch}}
syntax : @{syntaxItem=@{name=Remove-MergedRemoteBranches;
parameter=@{description=System.Management.Automation.PSObject[]; parameterValue=String[];
name=Branches; required=false; globbing=false; pipelineInput=false; position=1}}}
parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=@("master", "develop",
"HEAD"); parameterValue=String[]; name=Branches; type=@{name=String[]}; required=false;
globbing=false; pipelineInput=false; position=1}}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Remove-MergedRemoteBranches; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Remove-MergedRemoteBranches
Category : Function
Synopsis : Helper script for removing merged remote branches
Component :
Role :
Functionality :
ModuleName : NullKit
SYNTAX
Remove-Comments [-File] <FileInfo> [<CommonParameters>]
PARAMETERS
-File <FileInfo>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
None
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
description : {@{Text=This script will remove all branches which were already merged to the current branch}}
syntax : @{syntaxItem=@{name=Remove-MergedBranches;
parameter=@{description=System.Management.Automation.PSObject[]; parameterValue=String[];
name=Branches; required=false; globbing=false; pipelineInput=false; position=1}}}
parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=@("master",
"develop"); parameterValue=String[]; name=Branches; type=@{name=String[]}; required=false;
globbing=false; pipelineInput=false; position=1}}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Remove-MergedBranches; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Remove-MergedBranches
Category : Function
Synopsis : Helper script for removing merged branches
Component :
Role :
Functionality :
ModuleName : NullKit
description : {@{Text=This script will remove all remote branches which were already merged to the current branch}}
syntax : @{syntaxItem=@{name=Remove-MergedRemoteBranches;
parameter=@{description=System.Management.Automation.PSObject[]; parameterValue=String[];
name=Branches; required=false; globbing=false; pipelineInput=false; position=1}}}
parameters : @{parameter=@{description=System.Management.Automation.PSObject[]; defaultValue=@("master", "develop",
"HEAD"); parameterValue=String[]; name=Branches; type=@{name=String[]}; required=false;
globbing=false; pipelineInput=false; position=1}}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Remove-MergedRemoteBranches; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Remove-MergedRemoteBranches
Category : Function
Synopsis : Helper script for removing merged remote branches
Component :
Role :
Functionality :
ModuleName : NullKit