This happened when working with git on Ruby on Rails. several commits and branches were done and created.
git version 1.7.3.4
I accidentally deleted the .git folder using
git -rf .git
but I have all the files and updates done on online git-hub repository. I want the .git folder restored. Questions ?
- Am I totally screwed up ? OR
- If theres a way to restore .git from my online git-hub repository, how can that be done ?