# VirtusLab/git-machete

Probably the sharpest git repository organizer & rebase/merge workflow automation tool you've ever seen

Repository: https://github.com/VirtusLab/git-machete
Canonical: https://ross.abutalabs.com/products/git-machete
Language: Python
License: MIT
License Family: permissive
Topics: git, cli, rebase, merge
Last push: 2026-08-30T20:42:04+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 92, longevity 100
- inputs: {"age_days": 3112, "days_push": 3, "days_rel": 57, "gap_med": 18, "n_releases_24m": 32}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1137, forks 69 (observed 2026-09-01T02:13:58.127457+00:00)

## What it is
git-machete is a CLI tool that organizes git repositories by managing stacked branches and automating rebase/merge/push/pull workflows. It provides a bird's-eye view of branch topology and semi-automatically traverses branches to keep them in sync.

## Use cases
- manage stacked git branches with rebases
- keep multiple topic branches in sync with develop
- automate rebase and push across a branch tree
- see which branches are ahead or behind their upstream
- maintain small easy-to-review pull requests
- traverse branches to rebase merge push and pull semi-automatically

## When to choose
- you work with stacked branches or long-lived topic branches
- you want a clear overview of branch relationships in a complex repository
- you frequently rebase and want to automate the repetitive parts
- you want smaller, focused pull requests

## When to avoid
- you only use simple single-branch or trunk-based workflows
- you prefer GUI-based git tooling (though an IntelliJ plugin exists)
- you need a graphical git history visualizer

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, cli, workflow-automation, version-control
- domain: developer-tools, version-control
- platform: cli, cross-platform, python
- tags: git, rebase, merge, branch-management, pull-request-workflow, command-line

## Member repositories
- VirtusLab/git-machete (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:13:58.127457+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-30T06:36:30.012871+00:00, confidence not recorded.
  - readme: https://github.com/VirtusLab/git-machete (fetched 2026-09-01T02:13:58.127457+00:00, sha 292a37a7b359)
  - registry_pypi: https://pypi.org/pypi/git-machete/json (fetched 2026-08-29T12:41:33.053103+00:00, sha 5dd385b8d56f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
