-1

My app was working fine but it just stopped showing a page all of a sudden. I didn't change anything in the code but I think I "saved" an unsaved editor. Now I have no idea what file and change it was. Is there any way I can see what was the last change I made to to my project in VS code?

Can't use git diff or something because my last commit was a really long time ago.

  • Have you committed the changes after this event `"saved" an unsaved editor`? If not `git status` will tell you what you might have modified – Saurabh P Bhandari Mar 31 '20 at 09:14
  • Last time I committed was a long time ago so git status gives me a lot of changes in each file @SaurabhPBhandari –  Mar 31 '20 at 09:19
  • Probably checking the last modification time of the files might help, assuming that you didn't modify any code after your app stopped working – Saurabh P Bhandari Mar 31 '20 at 09:26
  • Does this answer your question? [How can I see local history changes in Visual Studio Code?](https://stackoverflow.com/questions/46446901/how-can-i-see-local-history-changes-in-visual-studio-code) – Gino Mempin Jan 17 '23 at 10:55

1 Answers1

0

There is an extension called

Git History

it will help you View git log, file history, compare branches or commits

Wainaina Nik
  • 163
  • 1
  • 8