git-fixup
brew install git-fixup
v1.6.1
ISC
Alias for git commit --fixup <ref>
3
30-day installs · #12290
10
90-day · #11965
213
365-day · #7210
262
★ GitHub stars · updated 1y ago
GitHub topics
fixup
git
rebase
squash
zsh
Links
- https://github.com/keis/git-fixup
- GitHub: keis/git-fixup
- Brew formula source: Formula/g/git-fixup.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Alias for git commit --fixup \u003cref\u003e",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:03+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "git-fixup",
"github_default_branch": "master",
"github_last_commit_at": "2025-01-07T12:40:58Z",
"github_readme_excerpt": "# git-fixup\n\nFighting the copy-paste element of your rebase workflow.\n\n`git fixup \u003cref\u003e` is simply an alias for `git commit --fixup \u003cref\u003e`. That\u0027s\njust a convenience feature that can be also be used to trigger tab completion.\n\nThe magic is in plain `git fixup` without any arguments. It finds which\nlines/files you have changed, uses git blame/log to find the most recent commits\nthat touched those lines/files, and displays a list for you to pick from. This\nis a convenient alternative to manually searching through the commit log and\ncopy-pasting the commit hash.\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/484559/6431298/344ded94-c023-11e4-8b82-314387ceeee3.png\" alt=\"git fixup\" width=\"500px\" /\u003e\n\n## Install\n\nOn **OS X** you can install this script with _homebrew_\n\n brew install git-fixup\n\nOn **Arch linux** you can install from AUR using _yaourt_ or a similar tool\n\n yaourt git-fixup\n\nFor most other systems (as long as they include `install` and `make`) you can\ninstall by cloning this repo and running make\n\n git clone https://github.com/keis/git-fixup.git\n cd git-fixup\n make install\n make install-zsh\n\nOr if you don\u0027t want to deal with any of that you can simply download the\nscripts in anyway you like and make sure to put the program and completion\nscript into your `$PATH` and `$fpath` respectively.\n\n## Usage\n\n```\ngit-fixup [-s|--squash] [-f|--fixup] [-a|--amend] [-c|--commit] [--no-verify]\n [--rebase] [-b|--base \u003crev\u003e] [-r|--reverse] [\u003cref\u003e]\n```\n\nFor this tool to make any sense you should enable the `rebase.autosquash`\nsetting in the git config, or use the `--rebase` option.\n\n\n```bash\n# Select the changes that should be part of the fixup.\n$ git add -p\n\n# Output a list of commits that the staged changes are likely a fixup of.\n$ git fixup\n\n# Create a fixup!-\u003ccommit\u003e of the given ref. If you have installed the zsh script\n# you can cycle through the list of fixup candidates with tab completion.\n$ git fixup \u003cref\u003e\n\n# Commit rebased into the ",
"github_repo": "keis/git-fixup",
"github_stars": 262,
"github_topics": [
"fixup",
"git",
"rebase",
"squash",
"zsh"
],
"homepage": "https://github.com/keis/git-fixup",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 3,
"installs_365d": 213,
"installs_90d": 10,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "ISC",
"llm_generated_at": null,
"llm_model": null,
"name": "git-fixup",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 12290,
"rank_365d": 7210,
"rank_90d": 11965,
"raw_hash": "b36a986158741c1f",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/git-fixup.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.6.1",
"versioned_formulae": [],
"why_use_this": null
}