git-sweep

Deletes local Git branches whose upstream has been removed.

Screenshot of git-sweep

A small cross-platform CLI that finds and deletes local Git branches whose upstream is gone. Dry-run by default, interactive confirmation, one-line install for Linux, macOS, and Windows.

Copilot says: AI-generated

Say goodbye to stale local branches cluttering your Git repo! This nifty tool safely sweeps away branches whose upstream has vanished, keeping your workspace fresh and tidy with zero hassle.

Key features:

  • ๐Ÿงน Cleans up local branches with gone upstreams
  • ๐Ÿ”’ Safe dry-run mode by default
  • ๐ŸŒ Cross-platform support for Windows/macOS/Linux
  • ๐Ÿ“Š JSON output for scripting and automation

This summary was generated by GitHub Copilot based on the project README.