Deshacer el confirmación y eliminar completamente todos los cambios
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