Hi,
I have reset few staged/unstaged files by mistake and that file changes was very crucial. Is there any way to get those changes back?
Please advice.
Thanks
Hardik
You may be able to recover some of the changes in your staged files:
According to everything I've seen, there's nothing to do that's native to Git or SourceTree for files that were never staged to begin with. Maybe you have other software that created a backup (OS, IDE, etc).
If the changes were edits to existing files, they are removed from the files and you cannot retrieve them from there. Your IDE or merge program might have backup files of an earlier state of the files.
If the files were now, untracked files, you might be able to undelete them.
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.