I did a git reset HEAD~1 to go back one commit. I did this a number of times.
I now want to go back to where HEAD was originally but am not sure how to move my HEAD forward.
Does anyone know what command I need to use?
1-2-3-4-5-6
Originally I was at 6 and I reset back to 3. I now want to go back to 5. My understanding is that since I did not do git reset --hard my original files from commit 6 is still available. Theoretically I should be able to un-reset and move back up correct?
master), you can just dogit checkout master. If it's not, you can checkout the specific SHA1, or checkout the tip of the branch and work backwards. There's probably other ways as well.git reflogwill let you fix this.