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

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

问题描述

是否可以从 TFS 2008 迁移到 Git,并且仍然保留所有历史记录等?我已经看到一些参考文献谈到通过 SVN 来做这件事,但这似乎相当复杂,并且使我在工作中引入 Git 的任务变得复杂.

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.

推荐答案

有一个直接的方法叫做 git-tfs 并且它在 github 上.

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

你只是做一个

  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.

我有一个 500 MB 大小的 msi 文件,客户端将其存储在 tfs 中,无法转换,需要几个小时才能缩小范围.

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天全站免登陆