Crates.io | git-snip |
lib.rs | git-snip |
version | 0.1.0 |
source | src |
created_at | 2023-12-30 21:37:53.5802 |
updated_at | 2023-12-30 21:37:53.5802 |
description | Snip local Git branches that do not exist on the remote. |
homepage | https://gitlab.com/radek-sprta/git-snip |
repository | https://gitlab.com/radek-sprta/git-snip |
max_upload_size | |
id | 1084436 |
size | 170,559 |
git-snip is a CLI utility to delete orphaned local branches that have no upstream.
You can install git-snip by building it with cargo. Run the following command:
cargo install --target-dir ~/.local git-snip
This will create a binary in ~/.local/bin/git-snip
.
In a git repository, run:
git snip
It will ask to confirm the branches to delete.
GNU General Public License v3.0