On Sat Nov 9, 2024 at 12:41 PM CET, Martin Imre wrote: > My usual workflow is using `git commit --fixup <revision>` quite > frequently, as it eases the code reviewing process and allows for a > clean history later on. https://github.com/keis/git-fixup/ but at least as a minimal improvement, I would limit list of commits to those which are touched in the staging area: ref=$(git log --oneline -- $(git diff --cached|lsdiff --strip 1)|fzf|cut -d ' ' -f1) (lsdiff is from patchutils) Best, Matěj -- http://matej.ceplovi.cz/blog/, @mcepl@floss.social GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Ty zlý dávaj’ ty hodný pryč. // Those evil ones put away those good ones. -- Magda Ceplová
Attachment:
E09FEF25D96484AC.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: PGP signature