将TFS存储库迁移到git [英] Migrating a TFS repository to git

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

问题描述

我很乐意从TFS切换到git。我无法承受丢失登机手续历史记录或我的分支机构。 $ t $ b $ div class =h2_lin>解决方案

/ div>

您可以尝试使用 TFS2Git Powershell脚本。您也可以尝试一下很棒的 Git-TF 扩展名:



pre $ git tf克隆http:// myserver:8080 / tfs / mycollection $ / TeamProjectA / Main



这会在克隆时有效保留您的所有源代码库提交历史记录。


I'm going to happily switch from TFS to git. I can't afford losing the check-in history or my branches. What is the least painful way to convert my TFS repository into a git repository by turning each check-in to a git commit and keeping all the branches?

解决方案

You could try using the TFS2Git Powershell script. There's also a great Git-TF extension you might try:

git tf clone http://myserver:8080/tfs/mycollection $/TeamProjectA/Main

This will effectively keep all your source repository commit history when cloning.

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

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