Welcome to your Local Branch Cleanup project!
Local Branch Cleanup is a command-line interface (CLI) tool to delete unused local branches in a Git repository.
You can install the local-branch-cleanup
CLI tool globally using npm:
npm install -g local-branch-cleanup
To clean up unused local branches in your Git repository, run the following command:
lbc exclude <branchToExclude>
Replace branchToExclude
with the name of the branch you want to exclude from deletion.
The default value for branchToExclude
is main
.
- Easily clean up unused local branches.
- Exclude a specific branch from deletion.
- Interactive command-line interface for uncommitted changes.
- Interactive command-line interface for unpushed changes.
Contributions are welcome! If you find a bug or have a feature request, please open an issue.
To contribute to this project, follow these steps:
- Fork this repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to merge your changes into the main repository.
This project is licensed under the MIT License. See the LICENSE file for details.
- simple-git - A Git library for Node.js.
- Email: demirtasdurmus@gmail.com