I’m confused. I want to go back to a previous commit that I identified in “git log”.
But when I do “git checkout “, I don’t get said commit. Nothing changes.
It tells me I’m in detached HEAD mode, but the files I want are not there.
What the eff am I doing wrong?
MrB
git reset --hard <commit>From the manpage:git checkoutis for switching your working directory to a different branch or commit. This does not move theHEADthere.