macOS
brew install mergiraflocal Homebrew formula metadata
sudo port install mergirafMacPorts ports tree · devel/mergiraf/Portfile · 来源: api.github.com
安装
brew install mergiraflocal Homebrew formula metadata
sudo port install mergirafMacPorts ports tree · devel/mergiraf/Portfile · 来源: api.github.com
sudo apk add mergirafAlpine Linux edge package indexes · mergiraf · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#mergirafnixpkgs package indexes · pkgs/by-name/me/mergiraf/package.nix · 来源: api.github.com
sudo pacman -S mergirafArch Linux sync databases · mergiraf · 来源: geo.mirror.pkgbuild.com
sudo zypper install mergirafopenSUSE Tumbleweed package metadata · mergiraf · 来源: download.opensuse.org
scoop install main/mergirafScoop official bucket manifest trees · bucket/mergiraf.json · 来源: api.github.com
winget install --id Mergiraf.Mergiraf -eWindows Package Manager source index · Mergiraf.Mergiraf · 来源: cdn.winget.microsoft.com
概览
Syntax-aware git merge driver
历史
Mergiraf is a syntax-aware merge driver for Git created by Antonin Delpeuch after exploring the limitations of line-based merge conflict resolution and earlier structured-merge prototypes. The project positions itself as a practical merge driver for daily version-control workflows: Git still performs ordinary line-based merges where they succeed, while Mergiraf uses syntax trees and language-specific knowledge when a line-based conflict can be resolved structurally.
The tool integrates through Git's custom merge-driver mechanism and can also be run after a conflict with `mergiraf solve`. Its documentation emphasizes conservative behavior: unresolved or suspicious cases keep conflict markers, while automatically solved cases can be reviewed with `mergiraf review` and reported with `mergiraf report`. It also supports Jujutsu workflows through `jj resolve --tool mergiraf`.
Mergiraf's ecosystem role is adjacent to tools like Difftastic: it applies tree awareness to version-control conflicts rather than only to human-readable diffs. Its supported-language list spans common programming languages such as C/C++, Go, Java, JavaScript, Python, Rust, TypeScript, and structured formats such as JSON, TOML, YAML, XML, `go.mod`, and requirements files. Package managers distribute it as a developer-tool CLI that teams can opt into globally or per repository through Git attributes.
安全态势
没有找到 mergiraf 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/git/config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mergiraf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mergiraf |
|---|---|
| 版本 | 0.18.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mergiraf |
| 主页 | https://mergiraf.org |
| 仓库 | https://codeberg.org/mergiraf/mergiraf |
| 上游文档 | https://mergiraf.org/ |
| 许可证 | GPL-3.0-only |
| 源码归档 | https://codeberg.org/mergiraf/mergiraf/archive/v0.18.0.tar.gz |
| 最后更新 | 2026-07-14T18:47:06Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mergiraf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mergiraf
nix profile install nixpkgs#mergirafmergiraf 0.17.0-r0
syntax-aware git merge driver for a growing collection of programming languages and file formats
sudo apk add mergirafmergiraf-doc 0.17.0-r0
syntax-aware git merge driver for a growing collection of programming languages and file formats (documentation)
sudo apk add mergiraf-docmergiraf 0.17.0-1
A syntax-aware git merge driver for a growing collection of programming languages and file formats
sudo pacman -S mergirafmergiraf 0.17.0-1.1
A syntax-aware git merge driver
sudo zypper install mergirafmergiraf
sudo port install mergirafmain/mergiraf
scoop install main/mergirafMergiraf.Mergiraf
winget install --id Mergiraf.Mergiraf -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.