Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, scoop 安装 git-machete

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-machete

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add git-machete

Alpine Linux edge package indexes · git-machete · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#git-machete

nixpkgs package indexes · pkgs/by-name/gi/git-machete/package.nix · 来源: api.github.com

Windows

Scoop已验证 · 92%
scoop install main/git-machete

Scoop official bucket manifest trees · bucket/git-machete.json · 来源: api.github.com

概览

软件包摘要

Git repository organizer & rebase workflow automation tool

命令和别名

  • git-machete

历史

项目历史与用法

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.

时间线

  • 2018: Public GitHub repository created.
  • 2023: 3.25.0 added GitLab support and a Scoop package.
  • 2024: 3.31.0 added GitHub and GitLab PR/MR description update commands.
  • 2026: 3.38.0 added interactive `git machete go` branch selection.
  • 2026: 3.41.0 added an agent skill and branch rename command.

Related projects

  • git-machete relates to Git itself, stacked-branch review workflows, GitHub and GitLab CLI tooling, and the VirtusLab git-machete IntelliJ plugin. It overlaps with rebase helpers, but its defining abstraction is a persistent branch layout.

安全态势

尚未找到受保护工具覆盖

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

安装行为

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

建议审查

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.git/machete.git/worktrees/.../machete.git/modules/.../machete

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

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
Pulseupdated
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-machete
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

git-machete

nix profile install nixpkgs#git-machete
  • normalized package name match
  • 匹配方式:Git Machete
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-machete/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

git-machete 3.42.0-r0

git repository organizer & rebase/merge workflow automation tool

https://github.com/VirtusLab/git-machete

sudo apk add git-machete
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-bash-completion 3.42.0-r0

Bash completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • 匹配方式:Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-fish-completion 3.42.0-r0

Fish completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • 匹配方式:Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-pyc 3.42.0-r0

Precompiled Python bytecode for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • 1 依赖
  • normalized package name match
  • 匹配方式:Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-machete-zsh-completion 3.42.0-r0

Zsh completions for git-machete

https://github.com/VirtusLab/git-machete

sudo apk add git-machete-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-machete
  • normalized package name match
  • 匹配方式:Git Machete
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-machete-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Scoop95%

main/git-machete

scoop install main/git-machete
  • normalized package name match
  • 匹配方式:Git Machete
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-machete.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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment