Please help>_< By mistake I delete a file in source tree and now i wanna recover it!

SL November 18, 2015

I am going to die my God that's my excel contents so many datas 

>_< please please help.

2 answers

1 vote
Johannes Kilian
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2015

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

 

0 votes
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 19, 2015

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events