Skip to content

shahabganji/GitClearBranches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.1

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages