Skip to content

jv-vogler/git-branch-utils

Repository files navigation

Git Branch Utils

npm version GBU

Manage your local git branches with ease.

A tool heavily inspired by npkill that offers a simple interface for tasks like deleting or renaming local branches.

Table of Contents

πŸš€ Features

  • Delete/restore local branches (during session).
  • Toggle delete/restore all branches (except current).
  • Rename local branches.
  • Restore deleted branches even after quitting.

πŸ“Œ Requirements

You can check by running the following commands:

Checking Git version

$ git -v
git version 2.46.2

Checking Node.js version

$ node -v
v20.17.0

πŸ’Ύ Installation

Run it without installing.

$ npx gbu

Or install it globally.

$ npm i -g gbu

πŸ”§ Usage

Currently, there are no special options. Just run:

$ gbu

or

$ npx gbu

🀝 Contributing

WIP

πŸ“œ License

MIT Β© JV Vogler.