I am using git local repository to create code commits. Till now I have made 8 commits in my local repository. For testing some previous commits (number 2) I used
git reset oldcommithashfornumber2
But now I want to go back to lasted 8th commit. But somehow I am stuck.
As this is local repository there is nothing to pull from remote origin.