GitClearBranches 1.0.1

dotnet tool install --global GitClearBranches --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local GitClearBranches --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GitClearBranches&version=1.0.1                
nuke :add-package GitClearBranches --version 1.0.1                

GitClearBranches

It clears all branches merged with the HEAD or Active branch and no longer has a remote branch.

Installation

dotnet tool install --global GitClearBranches --version 1.0.0

Usage

First run

git fetch --all --prune

then

git rmb

Parameters

  • -y or --yes to skip the prompt for deleting branches

  • any other branch name as parameter to make them an exception from getting removed

PS: The following branch names automatically get skipped:

  • master
  • main
  • dev
  • develop
  • prod
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 484 10/12/2021
1.0.0 401 10/11/2021
0.1.0 403 10/11/2021
0.0.2 366 10/11/2021
0.0.1 421 10/11/2021