1

I was commit changes in vscode but there was error in source control. So I discard all the changes, after that all my files and pics were deleted on my Mac!. is there any way to bring them back?.

SomethingDark
  • 13,229
  • 5
  • 50
  • 55
razankh
  • 29
  • 2

1 Answers1

0

If you have a recent enough VSCode, you should be able to:

  • recreate the file (empty)
  • check the timeline view which provides a local history of said file, allowing you to restore a past content (even when not saved in a Git commit)

That supposes however that you remember how those files were named.

The other option is to check if you had activated Time Machine on your Mac.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250