mortmort@floss.social
Oct 1, 2026, 2:26 PMI often find myself in need of amending a #git commit that's not the latest.
This is how I always end up doing that: create a dummy commit (usually called "lol"), interactively rebase on an early enough commit (typically HEAD~~~~ plus/minus some tildes), then squash the dummy commit into the one I wanna amend.
This ... works, but it doesn't seem like the best possible workflow. Surely there's a better way?