git-snip
git-snip is a CLI utility to delete orphaned local branches that have no upstream.
Installation
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
.
Usage
In a git repository, run:
git snip
It will ask to confirm the branches to delete.
License
GNU General Public License v3.0