https://github.com/n8rzz/gbrdm
Delete multiple git branches with a single interface
https://github.com/n8rzz/gbrdm
cli git js node tool
Last synced: about 1 year ago
JSON representation
Delete multiple git branches with a single interface
- Host: GitHub
- URL: https://github.com/n8rzz/gbrdm
- Owner: n8rzz
- License: other
- Created: 2017-12-10T05:47:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T19:18:21.000Z (over 2 years ago)
- Last Synced: 2025-04-09T00:51:14.162Z (about 1 year ago)
- Topics: cli, git, js, node, tool
- Language: JavaScript
- Homepage:
- Size: 148 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GBRDM
**G**it **Br**anch **D**elete **M**ultiple.
Provides a CLI interface for deleting multiple local branches at the same time.
## Installation
```bash
npm install -g gbrdm
```
## Usage
Navigate to a directory that contains a `.git` directory.
```bash
gbrdm
```
Select the branch(es) you'd like to remove

Confirm you really want to remove them

And your done!
## Reserved Branches
You will notice that running `gbrdm` produces a list of _most_ of your local branches, but some may be missing. There are several branch names that we won't include in group deleting. These names are:
```bash
master
develop
test
staging
```
The reason for this is that the names above are commonly used for important branches. You may still delete these branches if you choose, but you will need to do it outside of the `gbrdm` interface.
## License
[MIT](LICENSE)