@itsjxyang/git-branch-delete

1.0.5 • Public • Published

A command-line tool to delete local Git branches, excluding specified branches.

Installation

npm install -g @itsjxyang/git-branch-delete

Usage

To run the git-branch-delete command, use the following syntax:

git-branch-delete

You will be prompted to enter the branches you want to keep (space-separated). If you leave the input empty, the default branch 'master' will be excluded. The tool will display all the branches, excluding the specified branches, and then delete them.

License

This project is licensed under the MIT License.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @itsjxyang/git-branch-delete

      Weekly Downloads

      0

      Version

      1.0.5

      License

      MIT

      Unpacked Size

      2.67 kB

      Total Files

      4

      Last publish

      Collaborators

      • imjxyang