在TFS商店中使用Git [英] Using Git in a TFS shop

查看:96
本文介绍了在TFS商店中使用Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在家里使用Git让我非常沮丧 - 现在我发现在工作中使用TFS会有点拖累,并且希望探索在本地使用Git并以某种方式与TFS同步的可能性。我认为有几种不同的方法可以完成,并希望听到有人尝试过它。



我找到了博文描述了一个相对手动的工作流程,但我希望有更好的自动化和历史支持。

Jim Deville似乎在写一篇系列讲述了IronRuby团队如何让他们的github存储库与TFS保持同步,但还没有完成,我必须承认,在Jim到目前为止撰写的文章中,我遇到了一些麻烦。



我简单地尝试使用 SvnBridge git-svn 但是我很快陷入了一个错误(或许 this one?)。我打算进一步探索...

更新:看起来有些人在SvnBridge git-svn组合中取得了一些成功。请参阅此处



最后,也许 GitSharp 将使开发更容易这个问题有用的解决方案?不是因为GitSharp与TFS本身有什么关系,而仅仅是因为它向.NET开发人员公开了git自动化。


相关问题 - 一个href =https://stackoverflow.com/questions/614245/git-and-team-foundation-server> Git和团队基础服务器



解决方案

微软终于发布自己的桥梁解决方案: Git- TF 。它使用Java,因此它适用于Windows,OSX和Linux。

编辑:截至2013年1月30日,Microsoft是宣布 TFS之间的更多整合和Git来处理你的情况。它将通过2012年版本的TFS和Visual Studio的更新而提供。

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few different ways this can be done and would like to hear from people that have attempted it.

I've found a blog post that describes a relatively manual workflow, but I'm hoping for something with better automation, and history support.

Jim Deville appears to be writing a series on how the IronRuby team keeps their github repository in sync with TFS but it is not yet complete and I must admit I had a little trouble following what Jim has written so far.

I briefly attempted to use a combination of SvnBridge and git-svn but I got stuck on an error quite quickly (perhaps this one?). I do intend to explore this further...

Update: It looks like some people have had some success with the SvnBridge git-svn combo. See here.

Finally, perhaps GitSharp will make it easier to develop a useful solution to this problem? Not because GitSharp has anything to do with TFS per se, but simply because it exposes git automation to .NET developers.

Related Question - Git and Team Foundation Server

解决方案

Microsoft has finally released their own bridge solution: Git-TF. It uses Java, so it works in Windows, OSX, and Linux.

Edit: As of 2013-01-30, Microsoft is announcing even more integration between TFS and Git, to address precisely your situation. It will be made available via updates to the 2012 versions of TFS and Visual Studio.

这篇关于在TFS商店中使用Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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