Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code source control not showing changes

Visual Studio Code source control panel is empty when I click on it. Nothing to expand and nothing to click on.

Things I've tried:

  • Uninstalled/Reinstalled Git
  • Uninstall/Reinstalled VS Code
  • Removed extensions folder
like image 467
Post Impatica Avatar asked Feb 14 '20 19:02

Post Impatica


3 Answers

Open your project with cmd.

> cd your-folder-location
> code . -n

It worked for me

like image 134
zenTheo Avatar answered Oct 10 '22 15:10

zenTheo


I fixed it by doing the following:

  • go to file -> preferences -> settings
  • Expand features
  • Click SCM
  • Click Always Show Providers
  • I then messed around with left panel (can't remember what I did) but I noticed my changes now show
  • I unchecked the setting I checked earlier and all is well now even after restarting VS Code
like image 26
Post Impatica Avatar answered Oct 10 '22 16:10

Post Impatica


Dude, just lost an hour because my SCM in VSCode randomly stopped showing anything today. I restarted everything, tried git init, everything on the forums. Made sure Git built in extension is enabled, mine was already enabled so I was totally lost.

All I had to do was disable and then reenable the built in Git extension. and it fixed it.

Go to Extensions.

Filter by "built in".

Click the gear icon by Git, and click disable.

Then click it again, and click enable.

Here is a screenshot reference

like image 10
Amanda Simonds Avatar answered Oct 10 '22 15:10

Amanda Simonds