简体   繁体   English

TFS更改git服务器目标

[英]TFS Change git server destination

I'm new with TFS and GIT and I'm trying to configure my server. 我是TFS和GIT的新手,正在尝试配置服务器。

The problem is that my TFS server machine doesn't have enough space for all my source code. 问题是我的TFS服务器计算机没有足够的空间容纳所有源代码。 Can I configure TFS to create git repositories in another machine or disk? 我可以配置TFS在另一台机器或磁盘上创建git存储库吗? I don't find the option to do that in the Team Foundation Server Administration Console. 我在Team Foundation Server管理控制台中找不到执行此操作的选项。

TFS can only handle repositories that exist in a single location, you can't have Team Projects in different physical locations. TFS只能处理存在于单个位置的存储库,而您的团队项目不能位于不同的物理位置。

TFS is built on 2 tiers: Application and Data . TFS建立在2层之上: ApplicationData The Data tier (which is the one you're concerned with at the moment) is handled by an MS SQL server. 数据层(这是您当前关注的层)由MS SQL服务器处理。

You have 2 options: 您有2个选择:

  1. Install SQL Server on another machine that has more space and point your Application tier there instead. 将SQL Server安装在另一台具有更多空间的计算机上,然后将您的应用程序层指向那里。
  2. The best of all worlds, however, would be to use Visual Studio Online , it's free as long as you have 5 or fewer developers, and you don't have to worry about storage space. 但是,最好的办法是使用Visual Studio Online ,只要您有5个或更少的开发人员,它都是免费的,并且您不必担心存储空间。

If you're using the free version of TFS, you may not be able to separate the Application and Data tiers (It's been a while since I've had it installed, so I can't remember exactly and my next suggestion makes it irrelevant anyway). 如果您使用的是TFS的免费版本,则可能无法分离应用程序层和数据层(因为已经安装了一段时间,所以我记不清了,我的下一个建议使它不相关无论如何)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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