I was switching branch in jboss developer studio (just like eclipse)
. It asked me to commit your changes before switching. I entered temporary commit
as commit message. Then IDE was doing it's work.
But when IDE was doing all this, system was crashed due to unavailability of electricity.
When power was back I saw much of my files were blank, IDE is not recognizing project as git project, git status is saying not a git repository
.
How can I recover git repository data if system was crashed during switching branches?