Skip to content

krnsk0/gcull

Repository files navigation

Interactive git branch deleter

                   _ _
   __ _  ___ _   _| | |
  / _` |/ __| | | | | |
 | (_| | (__| |_| | | |
  \__, |\___|\__,_|_|_|
  |___/

Coverage lines Coverage functions Coverage branches Coverage statements

PRs Welcome License: MIT

What is this?

Interactive CLI tool. Shows a list of local branches; you pick which ones to delete.

Installation

Requires node > v18

npm i -g gcull

Usage

You'll need a working version of git in your path.

To start:

gcull

Already-merged branches are selected by default, but can be de-selected. The current branch will be disabled in the menu. It's best to check out main/master and to fetch the latest commits before invoking this tool.