Usually I'm editing old commits with git rebase -i HEAD~<number of commits I added> put edit on the commits I want to edit, make the change, adding files and git rebase --continue.
Is there a way to edit commits with rebase but to see the past commit changes? it will be much easier to spot the places I want to fix there, VScode mark the lines for me.
example: let's say I have committed commitA, commitB, commitC (HEAD at commitC). now I would like to edit commitA. I'm git rebase -i HEAD~3 and put edit on commitA. now I'm in the middle of my rebase but I want commitA changes to appear as changes, the situation is making me write my fix when commitA changes are already committed.
if there is an alternative way of fixing past commit and having that commit changes as staged that would be great.
Thanks in advance!