I know that using git rebase -i
, I could squash a commit which will meld the commit message into the immediate previous commit.
https://github.com/wprig/wprig/wiki/How-to-squash-commits
But using git rebase -i
, is it possible to squash a commit into not the previous commit but a commit even older? Lets say I want to squash a commit with a commit that is 3 commits prior to the commit being squashed. If yes, then how?