I have many commits on git when I do git log. Now I want to go back temporarily to a particular older commit and then come back. Si I tried to do git checkout -b myname shaid
However on my Xilinx IDE, it doesn't revert to the older commit.
Since I was on a different branch anyway, I decided to do git reset --hard <commit_d>.
This reflects all the changes.
How do I go back to a commit without doing git reset?