I messed up on my rails app so I used the command:
$ git checkout -f
to go back to my previous commit and get rid of my screw ups. After research I see that this command undos all local changes! Now my app is showing the initial commit of the project in Firefox and I cannot seem to get it back to the latest commit and show all of the work that I have done so I can test it in my browser. I have tried three of the tactics in this post How do I undo a checkout in git?
$ git reset --keep
$ git checkout master
$ git reset --hard HEAD
but I still am seeing the application as it was when I first started the project. When I type in...
git status
terminal shows that I am on branch master. I am still seeing all the commits when running git reflog. How can I get my application back so that I actually see all the local changes and can keep testing the app in my browser?