将TFS项目转换为git仓库的最佳方式是什么? [英] What is the best way to convert a TFS project to a git repo

查看:713
本文介绍了将TFS项目转换为git仓库的最佳方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在VS2012中有一些支持git的发展。我们目前有一个Team Foundation Server 2012(Update 2),其中的所有项目都以经典的TFS格式存储。

I know there have been a number of developments on support for git in the VS2012. We currently have a Team Foundation Server 2012 (Update 2) with all of our projects on it stored in the classic TFS format.

我们希望从TFS转移到纯粹的git回购系统(与git回购共享文件夹)。

We are wanting to move from TFS to a pure git repo system (shared folder with git repos).

将我们现有的TFS项目迁移到git仓库以便他们保留完整的提交日志等等的最佳方式是什么?

What is the best way to migrate our existing TFS projects into git repos so that they maintain their full commit log etc?

是否 TFS2Git 仍然要走?

Is TFS2Git still the way to go?

推荐答案

有一个 git tf 时Black Marble使用-to-migrate-code-between-TFS-servers-retaining-history.aspxrel =nofollow并使用 - deep 执行克隆以在TFS实例之间传输时保留历史记录。迁移到Git也是如此。

There's an article by Black Marble on using git tf and doing a clone with --deep to maintain history when transferring between TFS instances. The same should apply for migrating to Git.

这篇关于将TFS项目转换为git仓库的最佳方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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