git-branch-delete icon indicating copy to clipboard operation
git-branch-delete copied to clipboard

Interactive command line tool that makes it comfortable to delete several Git branches at once.

git-branch-delete

Interactive command line tool that makes it comfortable to delete several local Git branches at once.

Demo:

Demo

Installation

npm i -g git-branch-delete

Usage

git-branch-delete

or

git branch-delete

This starts a command line UI that helps you select and delete local Git branches.

After the UI has launched, you can use the up and down arrows to change the selected branch. The spacebar can be used to add the branch to the set of to-be-deleted branches. Pressing enter will finalize the selection of branches to delete.