Hacker News new | ask | show | jobs
by Aissen 497 days ago
You can simplify this:

git commit --fixup X ; git rebase --interactive --autostash --autosquash X^

If you do that often, an alias might help; I have one for the second command above. You might want to look at git-fixup or git-absorb for automatically finding the "X" commit.

Aside: I really ought to try jj, it looks very promising.

1 comments

jj has jj absorb already.
I heard it worked even better than git-absorb, is that true?
I have not used either, so I cannot answer that.