Helpful reminder on how to reset a branch on all changes you have been doing

PowerShell

git reset --hard $(git rev-parse HEAD)

Bash

git reset --hard $(git rev-parse HEAD)

Command Prompt (a lot more work)

git rev-parse HEAD > last_sha.txt
set /p last=<last_sha.txt
git reset --hard %last%
del last_sha.txt