@itsjxyang/git-branch-delete
v1.0.5
Published
A package to delete local Git branches except for 'master'.
Readme
A command-line tool to delete local Git branches, excluding specified branches.
Installation
npm install -g @itsjxyang/git-branch-deleteUsage
To run the git-branch-delete command, use the following syntax:
git-branch-deleteYou 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.
