macOS
brew install git-machetelocal Homebrew formula metadata
安装
brew install git-machetelocal Homebrew formula metadata
sudo apk add git-macheteAlpine Linux edge package indexes · git-machete · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#git-machetenixpkgs package indexes · pkgs/by-name/gi/git-machete/package.nix · 来源: api.github.com
scoop install main/git-macheteScoop official bucket manifest trees · bucket/git-machete.json · 来源: api.github.com
概览
Git repository organizer & rebase workflow automation tool
历史
git-machete is a Git repository organizer for stacked and multi-branch workflows. It records a branch layout, shows the relation between branches, and automates repeated rebase, merge, push, pull, and pull-request maintenance tasks across a chain of branches.
VirtusLab published the project as a public GitHub repository in February 2018. The README presents the tool around a bird's-eye view of a repository and a `.git/machete` layout file, with commands such as `discover`, `status`, `go`, `traverse`, and `advance`.
The 3.x release notes show the project expanding from local branch traversal into code-hosting workflows. Releases added GitHub and GitLab pull-request or merge-request commands, generated PR/MR description sections for branch chains, worktree handling, interactive branch selection, shell completions, and an agent skill for AI coding tools.
git-machete has unusually broad packaging for a workflow-specific Git extension. The project's own package matrix lists PyPI, Conda Forge, Homebrew, Alpine, AUR, Gentoo, nixpkgs, Scoop, Snap, GitHub Releases, and Read the Docs. The README also points to an IntelliJ Platform plugin, giving the workflow both CLI and IDE surfaces.
This adoption pattern fits teams that review stacked pull requests or maintain several dependent topic branches. Instead of asking users to remember the stack in their heads, the package makes the branch graph explicit and scriptable.
Practitioners start with `git machete discover` to infer and edit a branch layout, then use `git machete status` to inspect whether branches are in sync with their parents. `git machete traverse` walks the layout and performs rebases, merges, pulls, and pushes as needed.
The tool is also used to create or retarget GitHub pull requests and GitLab merge requests from the parent branch recorded in `.git/machete`. That makes it useful for small, focused pull requests that still depend on each other.
git-machete is package-nerd interesting because it turns a social workflow problem, the review and maintenance of branch stacks, into a small text file plus a Git subcommand. Its broad package matrix also shows the work required for a Python CLI to feel native across Linux distributions, macOS, Windows package managers, shells, and IDEs.
安全态势
没有找到 git-machete 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.git/machete.git/worktrees/.../machete.git/modules/.../machete可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
git-machete | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/VirtusLab/git-machete
安装元数据
| 软件包键 | brew:git-machete |
|---|---|
| 版本 | 3.44.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/git-machete |
| 主页 | https://github.com/VirtusLab/git-machete |
| 仓库 | https://github.com/VirtusLab/git-machete |
| 上游文档 | https://git-machete.readthedocs.io/en/stable |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/e3/22/f779a891736046770cc469c54321459abd413137356600dbbe2d2a9e910b/git_machete-3.44.1.tar.gz |
| 最后更新 | 2026-07-08T15:33:42Z |
| Pulse | updated |
| 依赖 | python@3.14 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-machete |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
git-machete
nix profile install nixpkgs#git-machetegit-machete 3.42.0-r0
git repository organizer & rebase/merge workflow automation tool
https://github.com/VirtusLab/git-machete
sudo apk add git-machetegit-machete-bash-completion 3.42.0-r0
Bash completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-bash-completiongit-machete-fish-completion 3.42.0-r0
Fish completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-fish-completiongit-machete-pyc 3.42.0-r0
Precompiled Python bytecode for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-pycgit-machete-zsh-completion 3.42.0-r0
Zsh completions for git-machete
https://github.com/VirtusLab/git-machete
sudo apk add git-machete-zsh-completionmain/git-machete
scoop install main/git-machete来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.