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. ▲ 2
    Git-absorb: Git commit –fixup, but automatic
    story by birdculture · 2026-07-14 · 0 comments
  4. …`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
  5. …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...
  6. …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
  7. Not by default: https://github.com/tummychow/git-absorb
    comment by bitdivision · 2026-04-14 · in jj – the CLI for Jujutsu
  8. …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
  9. ▲ 2
    Git Absorb
    story by adamch · 2026-02-18 · 0 comments
  10. …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
  11. 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
  12. …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
  13. 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…
  14. git-absorb ( https://github.com/tummychow/git-absorb ) does a bit more, figuring out the exact changes that should be fixed up.
  15. …inspired by a mercurial subcommand of the same name. It's also available in most distro repos. [1] https://github.com/tummychow/git-absorb
  16. Reminds me of git-absorb, which is a non-AI version of part of this. https://github.com/tummychow/git-absorb
  17. 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
  18. …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.
  19. 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…
  20. ▲ 451
    Git-absorb: Git commit –fixup, but automatic
    story by striking · 2024-09-26 · 271 comments
  21. …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
  22. 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
  23. ▲ 1
    Git Absorb
    story by ibobev · 2024-02-11 · 0 comments
  24. …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
  25. ▲ 4
    Git-absorb: Git commit –fixup but automatic
    story by nateb2022 · 2023-11-08 · 0 comments
  26. …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
  27. 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,…
  28. https://github.com/tummychow/git-absorb Does a very nice job of this for me.
  29. https://github.com/tummychow/git-absorb
  30. I find git-absorb very useful and it can mostly replace manual commit --fixup. https://github.com/tummychow/git-absorb
  31. …that is not so well-known is git-absorb, which helps a lot doing that cleanly and automatically. https://github.com/tummychow/git-absorb
  32. ▲ 2
    Git Absorb
    story by mooreds · 2022-12-01 · 0 comments
  33. ▲ 1
    Git absorb: Git commit –fixup, but automatic
    story by g0xA52A2A · 2022-11-26 · 0 comments
  34. ▲ 1
    Tummychow/Git-absorb: Git commit –fixup, but automatic
    story by jacooper · 2022-11-16 · 0 comments
  35. …you don't take up Sapling, there's a 'git absorb' plugin which I have found absolutely invaluable: https://github.com/tummychow/git-absorb
  36. That sounds much like git absorb. See https://github.com/tummychow/git-absorb
    comment by karl42 · 2022-01-19 · in A Better Git Flow
  37. …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
  38. ▲ 3
    Git Absorb, automatically create fixup commits for clean history
    story by AaronFriel · 2021-10-17 · 0 comments
  39. …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
  40. git-absorb is another implementation: - https://github.com/tummychow/git-absorb - https://lib.rs/crates/git-absorb
  41. ▲ 3
    Git absorb: automatically find the PR commit to put fixes into
    story by est31 · 2020-05-05 · 0 comments
  42. ▲ 3
    Git-absorb: Git commit –fixup, but automatic
    story by pcr910303 · 2020-04-11 · 0 comments
  43. …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
  44. ▲ 4
    Git absorb: Git commit –fixup, but automatic
    story by blopeur · 2019-01-29 · 0 comments
  45. ▲ 1
    Git Absorb
    story by jordigh · 2019-01-28 · 1 comment
  46. …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
  47. …(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