Skip to content
/ gbrdm Public

Delete multiple git branches with a single interface

License

Notifications You must be signed in to change notification settings

n8rzz/gbrdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GBRDM

Git Branch Delete Multiple.

Provides a CLI interface for deleting multiple local branches at the same time.

Installation

npm install -g gbrdm

Usage

Navigate to a directory that contains a .git directory.

gbrdm

Select the branch(es) you'd like to remove

gbrdm-checkbox-interface

Confirm you really want to remove them

confirm-you-want-to-delete-branches

And your done!

Reserved Branches

You will notice that running gbrdm produces a list of most of your local branches, but some may be missing. There are several branch names that we won't include in group deleting. These names are:

master
develop
test
staging

The reason for this is that the names above are commonly used for important branches. You may still delete these branches if you choose, but you will need to do it outside of the gbrdm interface.

License

MIT

About

Delete multiple git branches with a single interface

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published