Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 434
Matt Whetton Avatar asked Jul 11 '13 10:07

Matt Whetton


People also ask

Can there be multiple repositories for each project?

It is a combination of two Git tools that you can use to manage multiple repositories within one project. The two tools are HelixTeamHub and Helix4Git Do. Here, HelixTeamHub lets you work with multiple repositories, whereas the developers can use Helix4Git to contribute to the sub-projects or repositories.

Where does TFS store Git repositories?

Files aren't stored on the file system like they would be when git is running on your local machine. Instead they're stored in the TFS SQL server database. Apart from that, it's the same as any other git server out there.

Can GitHub project have multiple repositories?

Manage all of your GitHub repositories together. We're super excited to announce support for multiple repositories. You can now manage multiple GitHub repositories under a single project, and since we've also reworked sprints, the Issue Manager, and Tickets, the benefits are huge!


1 Answers

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.

like image 60
Edward Thomson Avatar answered Oct 04 '22 03:10

Edward Thomson