pkg.soopen package index

brew / rank 11288

Install git-mediate with Homebrew, apt

Utility to help resolve merge conflicts. Version 1.1.0 via Homebrew; verified 2026-07-22. Also installable with debian: sudo apt install git-mediate.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-mediate

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install git-mediate

Debian stable package indexes · git-mediate · source: deb.debian.org

overview

Package summary

Utility to help resolve merge conflicts

Commands and aliases

  • git-mediate

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:media

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
git-mediateexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.1.0
manager updated2026-07-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:git-mediate
Version1.1.0
Package managerHomebrew
Homepagehttps://github.com/Peaker/git-mediate
Repositoryhttps://github.com/Peaker/git-mediate
Last updated2026-07-22T05:53:20Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

git-mediate 1.0.9-1

tool to help resolving git conflicts

https://github.com/Peaker/git-mediate

sudo apt install git-mediate
  • Section: vcs
  • Architecture: amd64
  • Source Package: haskell-git-mediate
  • 3 dependencies
  • normalized package name match
  • Matched by: Git Mediate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-mediate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

git-mediate 1.0.9-1

tool to help resolving git conflicts

https://github.com/Peaker/git-mediate

sudo apt install git-mediate
  • Section: universe/vcs
  • Architecture: amd64
  • Source Package: haskell-git-mediate
  • 3 dependencies
  • normalized package name match
  • Matched by: Git Mediate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-mediate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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