使用GIT同步TFS版本控制 [英] Sync TFS Version Control with GIT

查看:148
本文介绍了使用GIT同步TFS版本控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们公司内部,我们在内部使用TFS 2015(Update 3)。我们正在寻找那些无法访问公司防火墙的承包商,因此无法访问TFS。相反,他们将使用我们都可以从外部访问的GitHub。 

Within our company, we are using TFS 2015 (Update 3) on premise. We are looking at hiring contractors that cannot have access inside of our corporate firewall, and therefore no access to TFS. Instead, they will use GitHub which we can both access externally. 

在TFS上,我们希望拥有一个使用TFS(Team Foundation版本控制)进行版本控制的团队项目。我们希望同时开发,我们承诺TFS并且他们承诺GitHub,但是我们希望每当发生任何提交时双向同步发生

On TFS, we want to have a Team Project that is version controlled using TFS (Team Foundation Version Control). We would like simultaneous development going on whereby we commit to TFS and they commit to GitHub, but we want two-way synchronization to occur whenever any commits take place.

可以某人请告诉我如何完成这项工作?

Can someone please get me started on how to accomplish this?

谢谢... Dwayne

Thanks...Dwayne

推荐答案

嗨Dwayne,

Hi Dwayne,

感谢您发布此处。

您可以尝试在TFS中使用构建,将新提交从GitHub推送到TFS或者相反。

You can try to use a build in TFS that push new commits from GitHub to TFS or the opposite.

您应安装 $ b来自市场的$ b Variable Toolbox 扩展。这个扩展允许你操作构建变量,如果你使用GitFlow是必要的。

You should install Variable Toolbox extension from the marketplace. This extension allows you to manipulate build variable and it is necessary if you use GitFlow.

请参考下面的文章,并按照步骤将构建设置为在TFVC和GitHub之间同步。

Please refer to below article and follow the steps to set the build to sync between TFVC and GitHub.

保持Git存储库在VSTS / TFS和Git之间保持同步

最好的问候。


这篇关于使用GIT同步TFS版本控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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