I want to reset Git repository to state from some other commit (have in my working directory only the files from that commit and in versions from that commit), but I don't want to move HEAD of the branch (which would be done by git reset
), leave all the commit history intact.
What is the way to do that?