# git-machete を Homebrew, apk, Nix, scoop でインストール

git-machete のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:git-machete
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install git-machete
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-machete
```

  証拠: Alpine Linux edge package indexes: git-machete from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#git-machete
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/git-machete/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/git-machete
```

  証拠: Scoop official bucket manifest trees: bucket/git-machete.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:git-machete
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.44.1
- **ソース概要:** Git repository organizer & rebase workflow automation tool
- **ホームページ:** <https://github.com/VirtusLab/git-machete>
- **最終更新:** 2026-07-08T15:33:42Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-machete (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.44.1
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/VirtusLab/git-machete>
- <https://git-machete.readthedocs.io/en/stable>
- <https://github.com/VirtusLab/git-machete#readme>
- <https://github.com/VirtusLab/git-machete/blob/master/PACKAGES.md>
- <https://github.com/VirtusLab/git-machete/blob/master/RELEASE_NOTES.md>


## セキュリティノート

git-machete に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## 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

- Unix: .git/machete, .git/worktrees/.../machete, .git/modules/.../machete
## 他のパッケージマネージャ記録

- Nix - git-machete: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-machete/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-machete - 3.44.1-r0: normalized package name match | Alpine Linux edge package indexes: git-machete from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | git repository organizer & rebase/merge workflow automation tool | https://github.com/VirtusLab/git-machete
- apk - git-machete-bash-completion - 3.44.1-r0: normalized package name match | Alpine Linux edge package indexes: git-machete-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for git-machete | https://github.com/VirtusLab/git-machete
- apk - git-machete-fish-completion - 3.44.1-r0: normalized package name match | Alpine Linux edge package indexes: git-machete-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for git-machete | https://github.com/VirtusLab/git-machete
- apk - git-machete-pyc - 3.44.1-r0: normalized package name match | Alpine Linux edge package indexes: git-machete-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for git-machete | https://github.com/VirtusLab/git-machete
- apk - git-machete-zsh-completion - 3.44.1-r0: normalized package name match | Alpine Linux edge package indexes: git-machete-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for git-machete | https://github.com/VirtusLab/git-machete
- Scoop - main/git-machete: normalized package name match | Scoop official bucket manifest trees: bucket/git-machete.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/git-machete.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-machete.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
