现有Git安装的TFS 2017(内部部署) [英] TFS 2017 (On-Premise) with existing Git installation

查看:85
本文介绍了现有Git安装的TFS 2017(内部部署)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


我正在研究TFS 17内部部署安装,我正在尝试理解这种关系


TFS服务器到Git。我们的IT部门已经运行了一个Git服务器,我正在尝试


了解我们是否可以将现有的Git服务器与TFS一起使用,如果是,那么配置步骤是什么。



我在安装指南中找不到对TFS + GIT配置的任何引用。



任何建议/指示。



谢谢。


解决方案

您好alx17,



感谢您发布此处。



你运行了哪种Git服务器?默认情况下,TFS有自己的Git,您无需在安装过程中对其进行配置。您只需在创建团队项目时选择Git版本控制类型:


https://www.visualstudio.com/en-us/docs/setup-admin/create-team-project


但是您可以使用构建系统中的功能将外部Git存储库(如SVN,BitBucket)与TFS集成,然后TFS可以从外部存储库中提取代码并使用它进行构建。有关详细信息,请参阅以下链接:


https://www.visualstudio.com/en-us/docs/build/define/repository



最诚挚的问候


Limitxiao Gao


Hi All

I am looking at a TFS 17 on-premise installation and I'm trying to understand the relation

of the TFS server to Git. Our IT department already runs a Git server and I am trying to

understand if we can use the existing Git server with TFS and if so, what are the configuration steps.

I cannot find any references to TFS + GIT config in the installation guide.

Any advise/pointers.

Thank you.

解决方案

Hi alx17,

Thank you for posting here.

Which kind of Git server did you run? TFS have its own Git by default, you do not need to configure it during the installation. You just need to select Git version control type when you create the team project:

https://www.visualstudio.com/en-us/docs/setup-admin/create-team-project

But you could use the feature in build system to integrate external Git Repository(like SVN, BitBucket) with TFS, then TFS could pull code from the external repo and build with it. For more information, you could refer to the following link:

https://www.visualstudio.com/en-us/docs/build/define/repository

Best Regards

Limitxiao Gao


这篇关于现有Git安装的TFS 2017(内部部署)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆