News for hackers. Stuff that matters.
Re:Git-absorb: Git commit –fixup, but automatic by 3eb7988a1663 on Wednesday September 25, 2024 @10:17PM (#41653865)
I use lazygit for this. Keyboard driven TUI which lets you easily re-order/squash commits with minimum fuss. Being able to see them all laid out means no futzing with identifying the right ids.
Re:Git-absorb: Git commit –fixup, but automatic by arcanemachiner on Thursday September 26, 2024 @12:13AM (#41654483)
I love lazygit so much. I use it all the time, and it's constantly improving my workflow.
Re:Git-absorb: Git commit –fixup, but automatic by imiric on Wednesday September 25, 2024 @10:31PM (#41653948)
I rarely refer to commits by their IDs in these cases, though. More often than not I use the relative `HEAD~n`, when it's easy to determine `n` visually. With a few aliases, the manual fixup workflow really doesn't take much effort.
Re:Git-absorb: Git commit –fixup, but automatic by montag on Wednesday September 25, 2024 @11:07PM (#41654154)
This sounds just right.
Re:Git-absorb: Git commit –fixup, but automatic by insane_dreamer on Thursday September 26, 2024 @09:24AM (#41658120)
lazygit also my go-to for this and git in general