# Installer git-machete avec Homebrew, apk, Nix, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git-machete pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

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

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

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

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

## Faits du paquet

- **Clé du paquet:** brew:git-machete
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.44.1
- **Résumé source:** Git repository organizer & rebase workflow automation tool
- **Page d'accueil:** <https://github.com/VirtusLab/git-machete>
- **Dernière mise à jour:** 2026-07-08T15:33:42Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- git-machete (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 3.44.1
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour git-machete. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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
## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
