简体   繁体   中英

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?

Try using Git submodules .

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM