I have to work with a directory like this:
ProjectRoot
|---- SubDirectory1
|---- SubDirectory2(Git Repository1)
|---- SubDirectory3(Git Repository2)
|---- ...
|---- Files
But I found that the embedded git function of VS-code can not recognize those sub-directories managed by git.
How to solve this problem? Is there a extension about it?
Alternatively you can use multi-root workspaces. Rather than opening the root directory of your project you can open the first separate git repo then add others using File->Add Folder to Workspace. Once you've added them all you can do File->Save Workspace As to save your new workspace configuration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With