I\'ve taken a look at these previous questions already:
If I understand what you want to do, it's not much different than the answer on your first link, you just need to stash the changes you don't want to add to the older commit. You can do it like this:
aaaaaaa
and its parent is bbbbbbb
, you want bbbbbbb
.git rebase -i bbbbbbb
(substituting the correct commit as determined in step 3). Move the most recent commit ("add this") up to just below the commit you're modifying and change it from pick
to fixup
. This will add it to that commit without change that commit's message.