从TFS迁移到Git [英] Migrating from TFS to Git

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

问题描述

是否可以从TFS 2008迁移到Git,并保留所有历史记录等?
我见过一些关于通过SVN来实现它的引用,但这看起来相当复杂,而且我的任务是将Git引入到我的工作中,这使得我的任务变得复杂。

>解决方案

有一种直接的方式叫做 git-tfs

你只需要做一个

  git tfs clone< tfs server> < tfs project> 

我建议获取源代码并将其添加到您的路径中,以便您可以调试它以应对任何奇怪,但代码很容易跨过。



我有一个msi文件,它是500 MB的客户端存储在tfs中,不会转换,花了几个小时把它缩小。

Is it possible to migrate from TFS 2008 to Git, and still preserve all the history, etc? I've seen some references that talk about doing it through SVN, but that seems rather complicated, and complicates my mission to introduce Git at my job.

解决方案

There is a direct way its called git-tfs and it's up on github.

You just do a

  git tfs clone <tfs server> <tfs project>

I recommend getting the source and adding it to your path separately so that you can debug it for any strangeness, but the code is pretty easy to step through.

I had a file that was an msi that was 500 MB that the client stored in tfs, that wouldn't convert, took a few hours to narrow it down.

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

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