Le 2021-07-13 à 15:34, Philippe Blain a écrit :
Running 'git diff --cached' in a second shell shows that those changes (the ones from the second 'squash') are correctly staged. HEAD points to a commit that has the changes from the 'pick' and the first 'squash', and as commit message the message I'm seeing in my editor.
Correction: the message in my editor has the messages from all three commits, but the message of the commit pointed by HEAD only has the messages from the first two commits, i.e. the 'pick' and the first 'squash' This is on with Git 2.32.0.1.g2ac0338718.