# Install git-imerge with Homebrew, apt, dnf, Nix

Incremental merge for git. Version 1.2.0 via Homebrew; verified 2026-06-18.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-imerge
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install git-imerge
```

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

- dnf (92%):

```sh
sudo dnf install git-imerge
```

  Evidence: Fedora Rawhide package metadata: git-imerge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#git-imerge
```

  Evidence: nixpkgs package indexes: pkgs/by-name/gi/git-imerge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-imerge
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-imerge>
- **Version:** 1.2.0
- **Source summary:** Incremental merge for git
- **Homepage:** <https://github.com/mhagger/git-imerge>
- **Repository:** <https://github.com/mhagger/git-imerge>
- **Upstream docs:** <https://github.com/mhagger/git-imerge#readme>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://files.pythonhosted.org/packages/be/f6/ea97fb920d7c3469e4817cfbf9202db98b4a4cdf71d8740e274af57d728c/git-imerge-1.2.0.tar.gz>
- **Last updated:** 2026-06-18T09:25:51+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-imerge (cli)
- git-imerge (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.0
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/mhagger/git-imerge
- info: No cached GitHub release or tag data was available.
## Project history and usage

git-imerge is a Git extension for incremental merge, rebase, revert, and drop operations. It breaks large conflict sets into smaller pairwise conflicts and records progress inside Git refs so work can be paused, tested, shared, and resumed.

### Project history

Michael Haggerty's repository was created in May 2013, the same period in which the README points users to a GitMerge 2013 presentation and a practical introduction article. The project framed incremental merging as a way to reduce conflict pain by identifying exactly which commits from two branches conflict.

### Adoption history

git-imerge became a well-known specialist tool among advanced Git users because it addressed a real pain point in long-running branches: merge conflicts that are too large to understand at once. Its GitHub repository has thousands of stars and its packaging spans Homebrew, Debian, Fedora, Nix, and Ubuntu, indicating durable interest beyond a single distribution.

### How it is used

Practitioners use commands such as `git-imerge merge BRANCH`, `git-imerge rebase BRANCH`, and `git-imerge continue` as analogues to Git's native merge and rebase workflows. During an operation, git-imerge records state under `refs/imerge/NAME`, can show a diagram of progress, and can simplify the final result into a merge, rebase, history-preserving rebase, or fuller intermediate history.

### Why package nerds care

The package is notable because it is not a wrapper around a single Git porcelain command; it stores its own operation graph in Git's object database and refs. That makes it especially interesting to people who study Git internals, conflict resolution, and packaging of Git subcommands.

### Timeline

- 2013: GitHub repository created and GitMerge 2013 presentation referenced by the README.
- 2016: Release v1.0.0 published.
- 2018: Release v1.1.0 published.
- 2020: Release v1.2.0 published.

### Related projects

- git-imerge builds on Git's merge, rebase, rerere, refs, and object storage. It is related in spirit to conflict-reuse and history-preserving workflows rather than to ordinary visual merge tools.

### Sources

- <https://api.github.com/repos/mhagger/git-imerge/releases>
- <https://github.com/mhagger/git-imerge>
- <https://raw.githubusercontent.com/mhagger/git-imerge/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - git-imerge - 1.2.0-5: normalized package name match | Debian stable package indexes: git-imerge from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | incremental merge and rebase for git | https://github.com/mhagger/git-imerge
- Nix - git-imerge: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-imerge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - git-imerge - 1.2.0-5: normalized package name match | Ubuntu 24.04 LTS package indexes: git-imerge from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | incremental merge and rebase for git | https://github.com/mhagger/git-imerge
- dnf - git-imerge - 1.2.0-3.fc45: normalized package name match | Fedora Rawhide package metadata: git-imerge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Incremental merge and rebase for Git | https://github.com/mhagger/git-imerge


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [git-octopus](https://www.automicvault.com/pkg/brew/git-octopus/) - Shares av.db curated category or tags: cli, conflict-resolution, developer-tools, git, merge.
- [git-mediate](https://www.automicvault.com/pkg/brew/git-mediate/) - Shares av.db curated category or tags: cli, conflict-resolution, developer-tools, git, merge-tools.
- [mergiraf](https://www.automicvault.com/pkg/brew/mergiraf/) - Shares av.db curated category or tags: cli, developer-tools, git, merge-tools, version-control.
- [git-archive-all](https://www.automicvault.com/pkg/brew/git-archive-all/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [git-big-picture](https://www.automicvault.com/pkg/brew/git-big-picture/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.
- [git-machete](https://www.automicvault.com/pkg/brew/git-machete/) - Shares av.db curated category or tags: cli, developer-tools, git, rebase, version-control.
- [git-revise](https://www.automicvault.com/pkg/brew/git-revise/) - Shares av.db curated category or tags: cli, developer-tools, git, rebase, version-control.
- [gitup](https://www.automicvault.com/pkg/brew/gitup/) - Shares av.db curated category or tags: cli, developer-tools, git, python, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/git-imerge.yml](https://github.com/automic-vault/db/blob/main/combined/git-imerge.yml)


## Sources

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