How-to-simply...

Revert to a previous Git commit

  • 1 git reset --hard HEAD
  • N To revert to previous commit, ignoring any changes

References