C:\>git tf clone https://companyname.visualstudio.com/DefaultCollection $/companyname/Main OldTFS --deep
迁移到TFS从Git的多个分支和他们的历史
这只是让我的主要分支历史。那是git tf
。
C:\>git tfs clone https://companyname.visualstudio.com/DefaultCollection $/companyname/Main --with-branches
这在合并变更集的一个取几枝说Please report this case to the git-tfs developpers! (report here : https://github.com/git-tfs/git-tfs/issues/461)
后失败。 git branch
给了我这个
Release/20120719.1
Sprint/Sprint044
Sprint/Sprint045
Sprint/Sprint047
Sprint/Sprint048
Sprint/Sprint049
Sprint/Sprint050
*master
我已经高达Sprint085分支机构和相当多的发布分支也。这是git tfs
有没有什么办法与git tf
,我可以获取其他几个正确创建合并提交的分支,以便我可以正确地看到历史?
我结帐[这](https://github.com/pmiossec/git-tfs/tree/rename_branch)科。但无法编译它。 :( – IsmailS
对不起,现在递归克隆 – IsmailS
我们甚至在TFS中创建了子目录的分支(在我们现在不用的旧分支中),这可能是失败的原因吗? – IsmailS