RemoveLocalBranches-help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <command:command 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" xmlns:MSHelp="http://msdn.microsoft.com/mshelp"> <command:details> <command:name>Remove-LocalBranches</command:name> <command:verb>Remove</command:verb> <command:noun>LocalBranches</command:noun> <maml:description> <maml:para>Deletes all local git branches - except for master - from the current respository.</maml:para> </maml:description> </command:details> <maml:description> <maml:para>Removes all merged, non-master branches from your local git repository. Use `-Force` to remove all non-master branches, regardless of merge status.</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Remove-LocalBranches</maml:name> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:Description> <maml:para>Deletes all braches regardless of merge status.</maml:para> </maml:Description> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> <maml:name>Force</maml:name> <maml:Description> <maml:para>Deletes all braches regardless of merge status.</maml:para> </maml:Description> <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> <dev:type> <maml:name>SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <maml:alertSet> <maml:alert> <maml:para></maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>-------------------------- Example 1 --------------------------</maml:title> <dev:code>PS C:\> Remove-LocalBranches -F</dev:code> <dev:remarks> <maml:para>All branches are removed, leaving only master.</maml:para> </dev:remarks> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Remove-LocalBranches</maml:linkText> <maml:uri>https://github.com/refactorsaurusrex/whats-new/wiki/Remove-LocalBranches</maml:uri> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |