Défaire l'engagement et supprimer complètement toutes les modifications
git reset --hard HEAD~;
# Warning: hard resets the index and working tree.
# Any changes to tracked files in the working tree since the previous commit are discarded
Active Programmer