Of course you can only recover files from the git repository, when you have commited them - and you are only able to recover the latest version of a file you have commited ...
See for example:
http://stackoverflow.com/questions/2007662/rollback-to-an-old-git-commit-in-a-public-repo
If the file was not indexed by Git, your OS may provide some recovery tools http://windows.microsoft.com/en-us/windows7/recover-lost-or-deleted-files
Or you can try 3rd party apps that will scan your hard drive for deleted data: http://www.lmgtfy.com/?q=recover+deleted+files
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.