1 unstable release
0.1.0 | Dec 30, 2023 |
---|
#380 in #git-repository
17KB
133 lines
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
Dependencies
~12MB
~265K SLoC