使用GIT同步TFS版本控制

编程入门 行业动态 更新时间:2024-10-12 12:28:13
本文介绍了使用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版本控制

本文发布于:2023-10-31 10:48:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545857.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本   GIT   TFS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!