local-branch-cleanup
v3.3.0
Published
A CLI to delete unused local branches in a git repository
Downloads
13
Maintainers
Readme
📦🚀 Local Branch Cleanup
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.
Installation
You can install the local-branch-cleanup
CLI tool globally using npm:
npm install -g local-branch-cleanup
Usage
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
.
Features
- 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.
Contributing
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.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Acknowledgements
- simple-git - A Git library for Node.js.
Author
Contact
- Email: [email protected]