Reputation: 301
I am looking for a Solution having multiple Projects in one Solution, using one GIT repository per Project.
I want to be able to have multiple projects in one solution but each project has it's own GIT repo.
Lets say I got these project structure :
Solution Project
- Some Client
- Some Other Project
- Some Lib Project that is used by all projects in this solution
- Some ASP Website
Any Thoughts how I can bring it to work ? Is Visual Studio 2013 able to handle this ?
Upvotes: 12
Views: 1881
Reputation: 8969
It does not seem to be possible at this time (even in Visual Studio 2013). Visual Studio handles one GIT repository per solution (including projects).
In order to be efficient, the best alternative I found is to use an application like SourceTree and include all your projects in it.
You can Download SourceTree.
I found that using a software like SourceTree (or another) makes it simple to see which files were modified and what specific lines where edited. It used to be a pain, in Visual Studio, to easily see what was modified in each file that were edited.
I mix this technique with the command line which I love. But, I understand how great it would be to have everything in the same window.
Upvotes: 4
Reputation: 11770
At the moment the Visual Studio integration only really handles a single repo containing the entire solution (and projects). Doesn't really work well when each project is in it's own repository or if you are using sub-modules etc.
Probably worth heading over to UserVoice and adding your support for this, however I do know that it's something the team are looking at solving at some point
In the meantime, you are probably going to need to fall back to the command line I'm afraid.
Upvotes: 5