https://github.com/itzg/prune-branches
CLI that prunes local git branches that have been merged
https://github.com/itzg/prune-branches
cli git java
Last synced: 11 months ago
JSON representation
CLI that prunes local git branches that have been merged
- Host: GitHub
- URL: https://github.com/itzg/prune-branches
- Owner: itzg
- License: mit
- Created: 2021-10-27T22:07:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-07-07T17:27:33.000Z (12 months ago)
- Last Synced: 2025-07-07T18:49:12.214Z (12 months ago)
- Topics: cli, git, java
- Language: Java
- Homepage:
- Size: 271 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
A simple CLI to prune local git branches that have been merged via merge-commit or squash-and-merge.
## Usage
Run `prune-branches --help` to see the full set of options; however, typically you can go into the repo directory to prune and simply run it with no options.
## Installation
> All the installation methods require Java 8 or newer to be installed.
### Scoop
```shell
scoop bucket add itzg https://github.com/itzg/scoop-bucket.git
scoop install prune-branches
```
### Homebrew
```shell
brew tap itzg/tap
brew install prune-branches
```
### Manually
Download the zip or tgz from [the latest release](https://github.com/itzg/prune-branches/releases/latest).