Problem Statement
What happens after `git reset --soft HEAD~2` and why is it useful?
Explanation
HEAD moves back two commits; index and working tree keep the changes from those commits staged. Useful to reword/squash into a single commit.
Practice Sets
This question appears in the following practice sets: