Can you add multiple git repositories to a team pr

2020-02-19 07:10发布

问题:

I'm currently using tfs service for a project which involves several different parts (i.e. a website, a phone app etc). Some of these parts really belong in their own repositories, especially as some are .net and some are java / android.

Is there any way to add multiple git repositories to a team project in tfs / tfs service?

I could create independent team projects, but I'd rather not have to do that.

回答1:

You can create multiple git repositories under a single Team Project. Navigate to the Code Explorer, and locate the repository chooser in the web interface and select Manage Repositories...

From the repository manager, you can add a new repository:

This, of course, is provided that the Team Project uses Git as the version control provider - you can't mix and match Git repositories and Team Foundation Version Control in a single Team Project.