# frostming/legit

Git for Humans, Inspired by GitHub for Mac™.

Repository: https://github.com/frostming/legit
Canonical: https://ross.abutalabs.com/products/legit
Homepage: https://frostming.github.io/legit
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: git, cli, tool, kennethreitz
Last push: 2023-10-09T19:32:28+00:00

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

## Adoption (not part of the score)
Stars 5685, forks 212 (observed 2026-08-28T04:09:27.892922+00:00)

## What it is
Legit is a complementary command-line tool for Git that simplifies common feature-branch workflows, inspired by GitHub for Mac. It provides commands like sw, sync, publish, unpublish, and undo that automatically handle stashing, merging, and pushing.

## Use cases
- switch git branches without manually stashing changes
- sync a branch with stash, fetch, rebase, and push in one command
- publish or unpublish branches on a remote
- undo the last commit from the command line
- list branches with publication status and wildcard matching
- simplify git for developers new to version control

## When to choose
- you want a simpler, GitHub-for-Mac-style git workflow in the terminal
- you frequently switch branches with uncommitted changes
- you want one-command branch syncing with automatic stash/unstash
- you want convenient git aliases for common branch operations

## When to avoid
- you need full git functionality - legit only covers a small subset of commands
- you are a git veteran who prefers explicit control over stashing and merging
- you need a graphical git client
- you require actively developed tooling - releases are infrequent

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: cli, version-control, developer-tools
- domain: version-control, developer-tools
- platform: cli, cross-platform, windows, python
- tags: git, git-workflow, branch-management, git-aliases, github-for-mac-inspired, command-line, macos, linux

## Member repositories
- frostming/legit (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:27.892922+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-29T17:54:14.209237+00:00, confidence not recorded.
  - readme: https://github.com/frostming/legit (fetched 2026-08-28T04:09:27.892922+00:00, sha 2d9cad7d0d9c)
  - homepage: https://frostming.github.io/legit (fetched 2026-08-29T08:49:20.896103+00:00, sha 550580c5653e)
  - registry_pypi: https://pypi.org/pypi/legit/json (fetched 2026-08-29T08:49:20.905090+00:00, sha 708ccf05fb9b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
