# Installer git-mediate avec Homebrew, apt

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

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install git-mediate
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install git-mediate
```

  Preuve: Debian stable package indexes: git-mediate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Faits du paquet

- **Clé du paquet:** brew:git-mediate
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/git-mediate>
- **Version:** 1.1.0
- **Résumé source:** Utility to help resolve merge conflicts
- **Page d'accueil:** <https://github.com/Peaker/git-mediate>
- **Dépôt:** <https://github.com/Peaker/git-mediate>
- **Licence:** GPL-2.0-only
- **Archive source:** <https://github.com/Peaker/git-mediate/archive/refs/tags/1.1.0.tar.gz>
- **Dernière mise à jour:** 2026-07-22T05:53:20Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- git-mediate (cli)
- git-mediate (alias)

## Dépendances

- gmp

## Dépendances de compilation

- cabal-install
- ghc

## Bibliothèques fournies par macOS

- libffi

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.1.0
- gestionnaire mis à jour: 2026-07-22
- données locales: OK
- dépôt amont: https://github.com/Peaker/git-mediate
- dernière version détectée: 1.1.0 (à jour)
## Historique du projet et usages

git-mediate is a Haskell Git helper for resolving merge conflicts that have become mechanically trivial. It is built around Git's diff3 and zdiff3 conflict styles, where the base version is visible alongside both sides of a conflict.

### Historique du projet

Eyal Lotem began the project in December 2014 under the name resolve-trivial-conflicts. The changelog records early work on conflict display, terminal color handling, modify/delete conflicts, add/add conflicts, and diff2 output.

In December 2016 the project was renamed to git-mediate, reached version 1.0, and received its first Hackage release. Later releases added Windows compatibility fixes, a `--merge-file` option, line-ending handling, nested-conflict parsing fixes, zdiff3 awareness, and editor improvements.

### Historique d'adoption

git-mediate is a niche but well-sourced conflict-resolution utility. Its README lists installation through Homebrew, Debian packages, Arch's AUR, Haskell Stack, and source builds, while the changelog notes its Debian unstable entry in July 2023.

### Modes d'utilisation

Practitioners first configure Git to use diff3 or zdiff3 conflict style, then manually make simple changes across the conflict sections. Running `git-mediate` detects conflicts where one side can be selected or where markers have been removed, resolves what it can, and runs `git add` for files with all conflicts resolved.

The `-d` flag displays conflict diffs from the base, and `-e` opens an editor for conflicted files that cannot be resolved automatically. This makes the tool useful during manual conflict cleanup rather than as a full merge driver replacement.

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

git-mediate is package-nerd interesting because it embraces Git's existing conflict-marker formats instead of inventing a new merge UI. It is small, scriptable, and distributed through both Haskell and operating-system package channels.

### Chronologie

- 2014: Development started as resolve-trivial-conflicts.
- 2014: v0.2 added remaining-conflict display.
- 2016: Renamed to git-mediate and released on Hackage.
- 2023: Debian unstable packaging appeared.
- 2024: v1.1.0 added split-marker and line-added-around options.

### Related projects

- git-mediate relates to Git's merge conflict styles, especially diff3 and zdiff3. It complements visual merge tools and Git rerere by helping after a user has made a conflict simple enough to resolve mechanically.

### Sources

- <https://api.github.com/repos/Peaker/git-mediate>
- <https://formulae.brew.sh/formula/git-mediate>
- <https://github.com/Peaker/git-mediate#readme>
- <https://github.com/Peaker/git-mediate/blob/master/ChangeLog.md>
- <https://hackage.haskell.org/package/git-mediate>


## Notes de sécurité

broad file, network, media, or database tool signal.

- **Risque Geiger:** blue / moyen
- broad file, network, media, or database tool signal

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-mediate
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - git-mediate - 1.0.9-1: normalized package name match | Debian stable package indexes: git-mediate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool to help resolving git conflicts | https://github.com/Peaker/git-mediate
- Ubuntu apt - git-mediate - 1.0.9-1: normalized package name match | Ubuntu 24.04 LTS package indexes: git-mediate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool to help resolving git conflicts | https://github.com/Peaker/git-mediate


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/fr/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [cabal-install](https://pkg.so/fr/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/fr/brew/ghc/) - Build dependency declared by Homebrew.
- [git-octopus](https://pkg.so/fr/brew/git-octopus/) - Shares pkgdb curated category or tags: cli, conflict-resolution, developer-tools, git, git-extension.
- [git-lfs](https://pkg.so/fr/brew/git-lfs/) - Shares pkgdb curated category or tags: cli, developer-tools, git, git-extension.
- [git-machete](https://pkg.so/fr/brew/git-machete/) - Shares pkgdb curated category or tags: cli, developer-tools, git, git-extension.
- [weave](https://pkg.so/fr/brew/weave/) - Shares pkgdb curated category or tags: cli, conflict-resolution, developer-tools, git.
- [git-open](https://pkg.so/fr/brew/git-open/) - Shares pkgdb curated category or tags: cli, developer-tools, git, git-extension.
- [git-imerge](https://pkg.so/fr/brew/git-imerge/) - Shares pkgdb curated category or tags: cli, conflict-resolution, developer-tools, git.
- [git-now](https://pkg.so/fr/brew/git-now/) - Shares pkgdb curated category or tags: cli, developer-tools, git, git-extension.
- [git-number](https://pkg.so/fr/brew/git-number/) - Shares pkgdb curated category or tags: cli, developer-tools, git, git-extension.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
