# git-machete mit Homebrew, apk, Nix, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für git-machete in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:git-machete
- **Paketmanager:** Homebrew
- **Version:** 3.44.1
- **Quellzusammenfassung:** Git repository organizer & rebase workflow automation tool
- **Homepage:** <https://github.com/VirtusLab/git-machete>
- **Zuletzt aktualisiert:** 2026-07-08T15:33:42Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- git-machete (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 3.44.1
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

Für git-machete wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## 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
## Andere Paketmanager-Einträge

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


## Quellen

- 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
