https://github.com/myty/git-gone
A simple script to remove all git branches that have been merged into the main remote branch.
https://github.com/myty/git-gone
deno git
Last synced: about 2 months ago
JSON representation
A simple script to remove all git branches that have been merged into the main remote branch.
- Host: GitHub
- URL: https://github.com/myty/git-gone
- Owner: myty
- License: mit
- Created: 2024-10-27T13:15:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T13:47:38.000Z (over 1 year ago)
- Last Synced: 2025-04-05T19:41:45.854Z (about 1 year ago)
- Topics: deno, git
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-gone
A simple script to remove all git branches that have been merged into the main remote branch.
## Pre-requisites
* [Deno](https://deno.com/)
* [Git](https://git-scm.com/)
## Installation
```sh
deno install -g --allow-run -n git-gone jsr:@myty/git-gone
```
## Usage
### Help
```sh
git gone -h
```
## Commands
### list
List all gone branches.
### prune
Delete all gone branches.
## Credits
All credits for the idea go to Eugene Yokota (see ):
* git gone: cleaning stale local branches at
* git-gone in Bash:
* git-gone in Rust: