Automic VaultAutomic Vault

brew

git-mediate を Homebrew, apt でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install git-mediate

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install git-mediate

Debian stable package indexes · git-mediate · ソース: deb.debian.org

概要

パッケージ概要

Utility to help resolve merge conflicts

コマンドとエイリアス

  • git-mediate

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

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

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:media

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
git-mediatecliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.1.0
マネージャ更新日2026-07-22
ローカルデータOK
上流最新
検出された最新1.1.0

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

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git-mediate
バージョン1.1.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/git-mediate
ホームページhttps://github.com/Peaker/git-mediate
リポジトリhttps://github.com/Peaker/git-mediate
上流ドキュメントhttps://github.com/Peaker/git-mediate#readme
ライセンスGPL-2.0-only
ソースアーカイブhttps://github.com/Peaker/git-mediate/archive/refs/tags/1.1.0.tar.gz
最終更新2026-07-22T05:53:20Z
Pulseupdated
依存関係gmp
ビルド依存関係cabal-install, ghc
macOS 提供ライブラリlibffi
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit-mediate
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment