# Install git-fixup with Homebrew, Nix

Alias for git commit --fixup. Version 1.6.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#git-fixup.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-fixup
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:git-fixup
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-fixup>
- **Version:** 1.6.1
- **Source summary:** Alias for git commit --fixup
- **Homepage:** <https://github.com/keis/git-fixup>
- **Repository:** <https://github.com/keis/git-fixup>
- **Upstream docs:** <https://github.com/keis/git-fixup#readme>
- **License:** ISC
- **Source archive:** <https://github.com/keis/git-fixup/archive/refs/tags/v1.6.1.tar.gz>
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- git-fixup (cli)
- git-fixup (alias)

## Install behavior

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

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 1.6.1
- Local data: ok
- Upstream repository: https://github.com/keis/git-fixup
- Upstream latest detected: v1.6.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

git-fixup is a small shell-based Git helper that automates creation of fixup, squash, and amend commits for interactive rebase workflows.

### Project history

David Keijser's repository began in June 2013 with the stated purpose of reducing the copy-and-paste work in a rebase workflow. The README presents `git fixup <ref>` as a convenience wrapper around `git commit --fixup <ref>`, while the argument-free form uses Git blame and log data to suggest commits touched by the staged lines or files.

### Adoption history

The tool occupies a niche around Git autosquash usage rather than serving as a general-purpose Git frontend. Its README documents installation through Homebrew, Arch packaging, manual installation, and shell completion, which shows the script was designed for developer workstations and command-line integration.

### How it is used

Practitioners stage the changes that should amend an older commit, run `git fixup` to select or infer a target commit, and then use interactive rebase with autosquash to fold the generated fixup or squash commit into place. Configuration is provided through Git config keys and environment variables for defaults such as base revision, action, menu command, and whether to rebase after committing.

### Why package nerds care

git-fixup is package-nerd useful because it turns a common review-cleanup ritual into a tiny Git subcommand without adding a large workflow system. Its value is in the Unix-tool shape: a shell script, optional completion, and compatibility with external menu tools such as fzf.

### Timeline

- 2013: The repository was created and the first commit described the tool as fixup-focused.
- 2015: README imagery and usage examples documented the interactive candidate-selection workflow.
- Later releases: The command gained squash, amend, rebase, menu, and shell-completion support.

### Related projects

- git-fixup builds on Git's `commit --fixup`, `commit --squash`, and `rebase --autosquash` workflow, and it can be paired with menu tools such as fzf.

### Sources

- <https://github.com/keis/git-fixup>
- <https://github.com/keis/git-fixup#readme>
- <https://github.com/keis/git-fixup/blob/master/CHANGELOG.md>


## Security Notes

No matching local secret-handling manifest was found for git-fixup. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-fixup
- **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:** head, stable

## Other Package-Manager Records

- Nix - git-fixup: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-fixup/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 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.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-absorb](https://www.automicvault.com/pkg/brew/git-absorb/) - Shares av.db curated category or tags: cli, developer-tools, fixup, git.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cinnabar](https://www.automicvault.com/pkg/brew/git-cinnabar/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-series](https://www.automicvault.com/pkg/brew/git-series/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## Sources

- Nucleus package database
- 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
