macOS
brew install legitlocal Homebrew formula metadata
sudo port install legitMacPorts ports tree · devel/legit/Portfile · 来源: api.github.com
安装
brew install legitlocal Homebrew formula metadata
sudo port install legitMacPorts ports tree · devel/legit/Portfile · 来源: api.github.com
nix profile install nixpkgs#legitnixpkgs package indexes · pkgs/by-name/le/legit/package.nix · 来源: api.github.com
scoop install main/legitScoop official bucket manifest trees · bucket/legit.json · 来源: api.github.com
概览
Command-line interface for Git, optimized for workflow simplicity
历史
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.
安全态势
没有找到 legit 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
legit | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | legit |
| Version Scheme | 0 |
| Revision | 11 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
legit 1.2.0.post0-5
Git extension to assist in manipulating branches
https://github.com/frostming/legit
sudo apt install legitlegit
nix profile install nixpkgs#legitlegit 1.2.0.post0-3
Git extension to assist in manipulating branches
https://github.com/frostming/legit
sudo apt install legitlegit
sudo port install legitmain/legit
scoop install main/legit来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.