Git Reset HEAD

git reset --hard HEAD

Rolls back to last commit, without a chance to get back current work.

git reset --hard HEAD~1

Rolls back by 1 commit, without a chance to get back current work.