Re:Stacked Git – manage commits as a stack of patches
by juped on Thursday May 27, 2021 @04:06PM
(#27307620)
if the commit name is more readily at hand, just name the commit "fixup! whatever". --fixup just does this for you since references are shorter and easier to type (it doesn't have to be a hash, it can be --fixup HEAD~2 or something).
[ Parent
| on HN ]
Re:Stacked Git – manage commits as a stack of patches
by urxvtcd on Friday May 28, 2021 @04:22AM
(#27312977)
You can also use part of commit message to find that commit, so if you want to fixup "Refactor foo", you can run
git commit --fixup :/foo
Re:Stacked Git – manage commits as a stack of patches
by Hackbraten on Friday May 28, 2021 @10:52AM
(#27316031)
Nice!