Annuler la commission précédente mais garder les changements

// 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