Recently I messed up a commit was told to use this command, I am not 100% what it did, seemed very similar to a hard reset but I am not sure it's the same. I could not find a reference in docs.
I could not find how this What do git checkouts really mean? addressed the question, in the event it does please point me to where it does.