Desfazer a confirmação e remova completamente todas as alterações

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