Visual Studio Source Control recovering undone pending changes?

Viewed 7599

Yup, I'm that idiot. But I did select only the files I wanted to undo in the Pending Changes panel. It opened a new dialog, which I wrongfully assumed only contained the selection I made in the main panel. I said to undo everything and presto! a bunch of stuff I didn't want to undo was undone (much like the sweater song. I'm a tool). So my question is: is there anyway to recover the work that I undid?

3 Answers

If you are lucky enough to have been viewing your work in the browser via live-server or the like, and you haven't closed the page, you can right click and view the source. This will get your html changes back at least.

Related