Commiting into github downgrades my files into previous version, I have created a second branch in my github repository for experimental uses, and also i have my master branch. Whenever i try to commit to master i get that everything is up to date and my files get downgraded to previous versions. I simply followed these instructions http://learn.github.com/p/branching.html for creating the second branch.
Does anyone had this issue before?
PS:
I am working on a server not locally.
I did not merged the second branch with master.
Try using git reflog to find your missing commit. Here is an explanation from the git ready website:
http://gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html