Hacker GitHub

← All repos

tummychow/git-absorb

View on GitHub ↗ ★ 5,754 Rust

git commit --fixup, but automatic

47 mentions on Hacker News by 45 people: 13 stories, 34 comments · first 2018-11-06 · latest 2026-07-26

Mentions per year 47 mentions · busiest year 2026 (10)
20082026
  1. …of https://github.com/MitMaro/git-interactive-rebase-tool on the terminal. I also use git absorb ( https://github.com/tummychow/git-absorb ) and lazygit a lot ( https://github.com/jesseduffield/lazygit ).
    comment by QGQBGdeZREunxLe · 2026-07-26 · in Git rebase -i is not that scary
  2. …in my head. I have been making use of git-absorb. Leaving a really tidy git history is satisfying. https://github.com/tummychow/git-absorb
    comment by springtimesun · 2026-07-22 · in Reviewing code you didn't write
  3. …`git-absorb` [0] and `hg absorb`) are smarter than this, instead looking at the actual diffs. [0]: https://github.com/tummychow/git-absorb
    comment by winterqt · 2026-05-24 · in Defeating Git Rigour Fatigue with Jujutsu
  4. …From this comment on the git-absorb issue tracker I wouldn't expect it to be fixed soon either: https://github.com/tummychow/git-absorb/issues/134#issuecomm...
  5. …make the megamerge workflow so seamless. IUUC This is already implemented for git as an extension. https://github.com/tummychow/git-absorb I think this is such a basic thing that should be part of any DVCS implementation.
    comment by qsera · 2026-04-21 · in Jujutsu megamerges for fun and profit
  6. Not by default: https://github.com/tummychow/git-absorb
    comment by bitdivision · 2026-04-14 · in jj – the CLI for Jujutsu
  7. …my stack, that's nice. [1]: https://git-scm.com/docs/git-rebase#Documentation/git-rebase... [2]: https://github.com/tummychow/git-absorb [3]: https://github.github.com/gh-stack/faq/#will-this-work-with-...
    comment by fphilipe · 2026-04-14 · in GitHub Stacked PRs
  8. …I also love git-absorb for automatic fixups of a commit stack. https://github.com/tummychow/git-absorb
    comment by pabs3 · 2026-01-13 · in Git Rebase for the Terrified
  9. I can second that. If there are multiple commits: https://github.com/tummychow/git-absorb is handy to add formatting changes into the right commit after commits already happened.
    comment by Mic92 · 2025-12-27 · in Pre-commit hooks are broken
  10. …but a rough approximation of the intended steps with the benefit of hindsight. A tool like https://github.com/tummychow/git-absorb has been on my to-try list for a while, but for now I do it by hand.
    comment by __float · 2025-11-11 · in The lazy Git UI you didn't know you need
  11. A large percentage of git users are unaware of git-absorb ( https://github.com/tummychow/git-absorb ). This complements just about any git flow, vastly reducing the pain of realising you want to amend your staged changes into multiple…
  12. git-absorb ( https://github.com/tummychow/git-absorb ) does a bit more, figuring out the exact changes that should be fixed up.
  13. …inspired by a mercurial subcommand of the same name. It's also available in most distro repos. [1] https://github.com/tummychow/git-absorb
  14. Reminds me of git-absorb, which is a non-AI version of part of this. https://github.com/tummychow/git-absorb
  15. Have you taken a look at git-absorb[1]? It often did the wrong thing IME, but YMMV. [1]: https://github.com/tummychow/git-absorb
  16. …it a try. Another tool I've been using (with varied degree of success) to enhance my git life is https://github.com/tummychow/git-absorb . If both of these worked flawlessly or maybe even officially incorporated in git, I'd be very happy.
  17. it explains it in literally the first paragraph: https://github.com/tummychow/git-absorb?tab=readme-ov-file#g... > The command essentially looks at the lines that were modified, finds a changeset modifying those lines, and amends that…
  18. …your commits. You can automatically fix up commits after review commits using git absorb [1]. [1] https://github.com/tummychow/git-absorb
    comment by doix · 2024-03-31 · in Git as a debugging tool
  19. Yeah, git-extras are great. Another cool one is "git absorb": https://github.com/tummychow/git-absorb
    comment by schacon · 2024-02-13 · in Git tips and tricks
  20. …git-absorb[1], I wonder if you've tried it. If not, you might be very happy to discover it. [1]: https://github.com/tummychow/git-absorb
    comment by burntsushi · 2023-12-29 · in The merge vs. rebase debate
  21. …commits ! Didn't know about this, I had to look it up. It's a separate project from git [0]. [0]: https://github.com/tummychow/git-absorb
    comment by timost · 2023-09-06 · in OpenTF repository is now public
  22. Boy have I got the thing for you. git absorb - https://github.com/tummychow/git-absorb The way to work with it is: git add file1 git commit -m "Fix some bug in file1" git add file2 git commit -m "Add a feature flag for file1" # Oh no,…
  23. https://github.com/tummychow/git-absorb Does a very nice job of this for me.
  24. https://github.com/tummychow/git-absorb
  25. I find git-absorb very useful and it can mostly replace manual commit --fixup. https://github.com/tummychow/git-absorb
  26. …that is not so well-known is git-absorb, which helps a lot doing that cleanly and automatically. https://github.com/tummychow/git-absorb
  27. …you don't take up Sapling, there's a 'git absorb' plugin which I have found absolutely invaluable: https://github.com/tummychow/git-absorb
  28. That sounds much like git absorb. See https://github.com/tummychow/git-absorb
    comment by karl42 · 2022-01-19 · in A Better Git Flow
  29. …surrounding lines are last modified, and then generate fix-up commits or amend existing ones. [1]: https://github.com/tummychow/git-absorb
    comment by aayjaychan · 2022-01-08 · in How to Squash and Rebase in Git
  30. …as rearranging and combining commits into a sequence of semantically coherent atomic commits. --- https://github.com/tummychow/git-absorb https://github.com/torbiak/git-autofixup
  31. git-absorb is another implementation: - https://github.com/tummychow/git-absorb - https://lib.rs/crates/git-absorb
  32. …an extension by Facebook. Can't someone make a similar extension for git? ...and I just found it: https://github.com/tummychow/git-absorb
    comment by hiccuphippo · 2019-08-20 · in Sunsetting Mercurial Support in Bitbucket
  33. …ryszorc.com/blog/2018/11/05/absorbing-commit-ch... Wait, it appears someone finally ported it to git: https://github.com/tummychow/git-absorb
    comment by jordigh · 2019-01-26 · in Fossil vs Git
  34. …(apart from manually doing commit --fixup/rebase -i --autosquash) -- and a quick search found this: https://github.com/tummychow/git-absorb !
    comment by asqueella · 2018-11-06 · in Absorbing commit changes in Mercurial 4.8