I somehow managed to add every single file on my laptop to the version control bar in Microsoft visual studio. As a result there are tens of thousands of files in the version control bar, which has completely slowed down my laptop and caused it to turn off several times.
I tried discarding all the files in the version control bar. This hasn't worked for 2 reasons:
- There are far to many files.
- Some files yid errors meaning they can't be discarded from the version control bar. I have also tried uninstalling and reinstalling VS Code but that did nothing.