When You Want to Delete All Current Git Work

Sometimes you may want to delete everything you are currently working on.

In that case, you can remove the changes with the following commands.

git reset --hard HEAD
git clean -f -d -x