Due to some bad cherry-picking, my local Git repository is currently five commits ahead of the origin, and not in a good state. I want to get rid of all these commits and st
On your branch attempt:
git reset --hard origin/
Validate the reversal (to the state, with no local commits), using "git log" or "git status" hence.
git log
git status