Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git multiple repositories in Visual Studio

I have a solution with five projects in it and want to add it under Git source control.

Since I want to limit access for some users to some projects, I have to set up a Git repository for each project and limit access on repository-level.

In Visual Studio however, Git repositories are created per-solution with sub-folders for each project it contains. Is there a possibility to map each project to a separate Git repository in Visual Studio? If not, how would I achieve my goal in any other way?

like image 451
user3067395 Avatar asked Jan 28 '14 18:01

user3067395


1 Answers

Try using Git submodules.

You could have a solution repository with the project repositories as submodules.

like image 138
Klas Mellbourn Avatar answered Oct 10 '22 05:10

Klas Mellbourn