Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T12:53:59.000Z (7 months ago)
- Last Synced: 2024-05-01T21:50:19.805Z (7 months ago)
- Topics: cli, git, java
- Language: Java
- Homepage:
- Size: 164 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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).