Reputation: 9288
Using Visual Studio 2015 Update 2 and TFS online:
I am new to TFS online with Git version control. I am used to classic TFS source control and I am trying to adopt Visual Studio Online Git version control.
With TFS source control model, I can easily have multiple Visual Studio solutions in one TFS online Project. I have done that before and it works well.
I like to do the same thing with TFS online and Git version control. My understanding is that the TFS project has only one Git repository. If I have multiple VS solution in its subfolders, Visual Studio does not know that the solution's parent folder is a repository with a ".git" in it.
How can TFS Online project with Git source control include multiple Visual Studio solutions?
Upvotes: 0
Views: 245
Reputation: 38096
For visual studio online with git version control:
Each project can has multiple git repositories. You can add git repo by new repository shows in the picture.
The new added solutions will in the same directory of .git
folder, that means the new solutions are version controlled by the same git repository.
Update
Other ways to add solutions for a git repo:
A. VS -> file -> new -> project -> select the local repo directory for Location -> don’t select Create new Git repository -> OK
B. In the local repo path, copy solutions in it. These files are also added to the git repo, just go to vs and commit the changes.
Upvotes: 1