Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts, Nix, scoop 安装 legit

查看 legit 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install legit

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install legit

MacPorts ports tree · devel/legit/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install legit

Debian stable package indexes · legit · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#legit

nixpkgs package indexes · pkgs/by-name/le/legit/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/legit

Scoop official bucket manifest trees · bucket/legit.json · 来源: api.github.com

概览

软件包摘要

Command-line interface for Git, optimized for workflow simplicity

命令和别名

  • legit

历史

项目历史与用法

Legit is a small Python CLI that wraps common Git branch workflows in human-oriented commands such as `sync`, `switch`, `publish`, and `unpublish`.

项目历史

Kenneth Reitz created Legit in the early 2010s as part of his broader 'for Humans' style of developer tools. The project translated parts of GitHub for Mac's opinionated branch workflow back to the command line: auto-stashing during branch switches, simple publish/unpublish commands, and a sync operation that handled fetch, merge or rebase, push, and unstash.

The maintained package identity later centered on Frost Ming's `frostming/legit` repository and `frostming.github.io/legit` documentation. PyPI metadata for the package lists Kenneth Reitz among maintainers and authorship, while the repository topic and README preserve the GitHub-for-Mac inspiration.

采用历史

Legit spread through Python packaging first, with PyPI releases beginning in 2011 and later system packaging through Homebrew, Debian, Ubuntu, MacPorts, Nix, and Scoop. Its appeal peaked in the period when Git workflows were still intimidating to many new developers and GUI clients were influencing command-line ergonomics.

使用方式

Package users install the `legit` command and run it inside Git repositories. Its commands are deliberately narrower than raw Git: switch branches while preserving worktree changes, sync a published branch, publish or unpublish branches, and list branch publication status.

为什么软件包爱好者会关心

Legit is package-nerd history because it captures a particular moment in Git tooling: instead of exposing every Git feature, it offered a tiny vocabulary for a common feature-branch workflow. It also sits in the lineage of Kenneth Reitz's Python packaging era, where branding, API empathy, and CLI polish were treated as part of open-source distribution.

时间线

  • 2011-06-27: PyPI recorded the 0.0.1 source distribution upload.
  • 2012-03-25: PyPI recorded the 0.1.0 release page for Legit.
  • 2019-12-10: GitHub releases listed v1.2.0 for `frostming/legit`.
  • 2020-03-14: PyPI recorded the 1.2.0.post0 wheel and source uploads.

Related projects

  • Related Git ergonomics tools include GitHub Desktop, GitHub for Mac, hub, gh, git-extras, and custom Git aliases. Related Kenneth Reitz projects include Requests, Pipenv, Records, Maya, Delegator, and other 'for Humans' tools.

安全态势

尚未找到受保护工具覆盖

没有找到 legit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
legitcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.2.0.post0
管理器更新时间2026-07-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://frostming.github.io/legit/

安装元数据

软件包元数据

软件包键brew:legit
版本1.2.0.post0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/legit
主页https://frostming.github.io/legit/
仓库https://github.com/frostming/legit
上游文档https://frostming.github.io/legit
许可证BSD-3-Clause
源码归档https://files.pythonhosted.org/packages/cb/e4/8cc5904c486241bf2edc4dd84f357fa96686dc85f48eedb835af65f821bf/legit-1.2.0.post0.tar.gz
最后更新2026-07-22T10:44:30Z
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelegit
Version Scheme0
Revision11
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

legit 1.2.0.post0-5

Git extension to assist in manipulating branches

https://github.com/frostming/legit

sudo apt install legit
  • Section: vcs
  • Architecture: all
  • 5 依赖
  • normalized package name match
  • 匹配方式:Legit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: legit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

legit

nix profile install nixpkgs#legit
  • normalized package name match
  • 匹配方式:Legit
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/legit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

legit 1.2.0.post0-3

Git extension to assist in manipulating branches

https://github.com/frostming/legit

sudo apt install legit
  • Section: universe/devel
  • Architecture: all
  • 7 依赖
  • normalized package name match
  • 匹配方式:Legit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: legit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

legit

sudo port install legit
  • normalized package name match
  • 匹配方式:Legit
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/legit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/legit

scoop install main/legit
  • normalized package name match
  • 匹配方式:Legit
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/legit.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment