Search code examples
gitvisual-studioversion-controlvisual-studio-2022

Visual Studio Git Changes sees only current project VS2022


I have solution with few projects added to git repo separately / located in other folder trees.
But VS sees only one (main) project as GIT controlled - as shown below -> single lock icon in solution tree

In VS2017 I was using EZ-Git extension - with this one I was able to commit changes to any project added to solution. Unfortunately this extension is not working with VS2022

So I wonder if there is any way to force VS changes to see all projects in solution ?

PS I know I can use external tools / console to commit changes, but I want to have that in IDE

enter image description here


Solution

  • Multi-repo support can be enabled under Tools->Options...->Preview Features and ticking the Enable multi-repo support option:

    enter image description here