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
For all tracked unstaged files use:
git checkout -- .
The . at the end is important.