A versatile collection of scripts written in various programming languages, including Bash, Rust, D, Nim, and more.
An interactive terminal user interface for cleaning up local Git branches that no longer have remote counterparts.
Location: rust/local-git-branch-cleanup-tui/ Status:
✅ Production Ready, with
prebuilt releases for Linux, macOS and
Windows
Key Features:
- 🎯 Interactive TUI with keyboard navigation
- 🛡️ Smart branch classification (merged, pr-merged, pr-diverged, gone, unmerged, local, protected)
- ⚡ Safe delete by default (protects unmerged work)
- 🎨 Color-coded status indicators
- 📊 Details pane with commit information
- 🔍 Dry run mode for previewing deletions
Install (Linux, macOS):
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/EmilIvanichkovv/omni-scripts/releases/latest/download/local-git-branch-cleanup-tui-installer.sh | shInstall (Windows PowerShell):
powershell -ExecutionPolicy Bypass -c "irm https://github.com/EmilIvanichkovv/omni-scripts/releases/latest/download/local-git-branch-cleanup-tui-installer.ps1 | iex"Requires Git. See the User Guide for manual downloads and checksums.
Quick Start (Nix):
# Run directly with Nix
nix run .#local-git-branch-cleanup-tui
# Or run the bash script version
nix run .#local-git-branch-cleanupQuick Start (Cargo):
nix develop # Enter dev environment with Rust toolchain
cd rust
cargo run -p local-git-branch-cleanup-tuiDocumentation:
- User Guide - Installation, usage, and TUI guide
- Architecture - Technical documentation for developers
- Migration Guide - Migrating from the bash script
- Testing Guide - Comprehensive testing checklist
Also available: bash/local-git-branch-cleanup.sh via
nix run .#local-git-branch-cleanup
See individual directories for more tools and utilities.