deshacer la confirmación anterior pero mantener los cambios

// The easiest way to undo the last Git commit is to execute the “git reset” command with the “–soft” option that will preserve changes done to your files.

$ git reset --soft HEAD~1
Embarrassed Echidna