I am trying to check repository history. I stopped at the point where I want to return the repository back to a specific commit. I searched and I did
git reset
I received a message saying that HEAD is now in 12345. I opened the folder to see the file that I wanted to see, but it has not changed!
I wanted to go back to 2009 when this file was first created. However, the file was in a new version (after editing in 2010).
I checked the working directory, but there is nothing there. I also ran
git clean -f -d
but nothing has changed.
I don’t know what to do now. I want to go back in time to see what the files look like, but I want to go back to the whole repository.
source
share