Search code examples
gitfileadobe-brackets

Lost all files due to Git in Adobe Brackets


I need some help please! I'm using Adobe Brackets and I was just trying out its Git extension, when I accidentally clicked on "Discard all changes since last commit". Since I had not done any commit, ALL my files are now gone. Everything, the entire website I was working on! Including images, HTML, CSS, JS... I don't know what to do. The files are not in even in the trash.

Can someone please tell me if there is any way to recover the files I lost? Any help is much appreciated!


Solution

  • No way... when you have no commit and you reset or checkout your files all your changes are lost.

    Not committed changes are in the working tree.

    http://www.ralfebert.de/git/aenderungen-verwerfen/