# arc90/git-sweep

A command-line tool that helps you clean up Git branches that have been merged into master.

Repository: https://github.com/arc90/git-sweep
Canonical: https://ross.abutalabs.com/products/git-sweep
Language: Python
License: MIT
License Family: permissive
Last push: 2023-10-01T23:47:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5283, "days_push": 1067, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2710, forks 125 (observed 2026-08-28T04:07:11.800640+00:00)

## What it is
git-sweep is a Python command-line tool that identifies Git branches already merged into master and safely deletes them from the remote. It offers a preview mode, confirmation prompts, and options to skip fetches or exclude specific branches.

## Use cases
- clean up merged git branches
- delete stale remote branches
- find branches merged into master
- prune remote branch list
- automate git branch housekeeping

## When to choose
- your repository accumulates many merged feature branches
- you want a safe preview before deleting remote branches
- you prefer a simple pip-installable CLI over manual git branch -d checks

## When to avoid
- you need to delete unmerged or local-only branches
- you require GUI-based git management
- you need scheduled or automated cleanup without confirmation

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: developer-tools, version-control, cli
- domain: developer-tools, version-control
- platform: cli, python, cross-platform
- tags: git, branch-cleanup, git-branches, repository-maintenance, command-line

## Member repositories
- arc90/git-sweep (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.800640+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:35.791109+00:00, confidence not recorded.
  - readme: https://github.com/arc90/git-sweep (fetched 2026-08-28T04:07:11.800640+00:00, sha 04f2ecb5648e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
