Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code - Multi-root workspace not showing all git repositories in source control panel

I have a multi-root workspace set up where all of the folders in my workspace are git repositories.

However, for some reason only some of them show up in the Source Control panel, even though I've added them all to the workspace in the same way (File > Add Folder to Workspace).

How do I get all of the repositories to show up in the Source Control panel?


This is what my workspace looks like:

workspace folders

This is what my source control looks like:

source control repositories

like image 223
marksteelz3 Avatar asked Dec 06 '25 06:12

marksteelz3


1 Answers

I just had this happen to me, but for a different reason. I had three repos but only two showed up on the GIT tab:

enter image description here

enter image description here

Just on a hunch, I right clicked in the source control area on the left VSCode panel, then clicked the "Repositories" option in the drop-down menu and saw that the repo in question wasn't selected:

enter image description here

Once I selected the "interfaces" repo in the drop-down menu (so that it was checked), it then appeared in the source control area.

I've been using multi-root workspaces for a while and this never happened to me before, so I don't know what I did to cause it, but it's an easy thing to check for.

like image 159
DaveB Avatar answered Dec 08 '25 04:12

DaveB



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!