I'm collaborating with a friend on a website and wanted to update something, but now we realize that we don't want the update. So I found the commit we need, and typed
git reset --hard 0033e84…dffa6
because I found it on google, and this just replaced the changed file from back then. We want every file from back then, not just one. Then again I typed
git revert 0033e84…dffa6
and now somehow the "Last update" on the files changed, but the content is still the same new we don't want. We just want to go back. Why is that so confusing?
I only found those two command to go back, and it didn't help. The problem now is that the old commits are overwritten and its just messy.
What's the correct command to just go back in time with all the files and stuff? As it was before, not just some files.
The possible dublicate does not work in case of my problem. Whenever I want to go back, it just changes the commited FILE, not FILES in between.