Matt Whetton
Matt Whetton

Reputation: 6786

Can you add multiple git repositories to a team project in tfs / tfs service?

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.

Upvotes: 18

Views: 6760

Answers (1)

Edward Thomson
Edward Thomson

Reputation: 78873

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...

Repository Chooser

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

enter image description here

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.

Upvotes: 23

Related Questions