Re:GitButler: Fearless Rebasing
by everybodyknows on Wednesday October 23, 2024 @09:51PM
(#41931132)
> reflog should go and learn it
Among its other virtues, reflog makes safe the highly empowering 'git-commit --amend'.
Re:GitButler: Fearless Rebasing
by globular-toast on Thursday October 24, 2024 @03:58AM
(#41933168)
Yep, and even the more powerful fixup workflow where you can essentially amend commits other than HEAD. I do it via git-autofixup: https://github.com/torbiak/git-autofixup
Pick your most important repo. Make sure everything is committed. Doing something stupid like `git reset --hard HEAD~100`. Look how fucked your work is. Do `git reset --hard HEAD@{1}`. Look at how nothing was lost.