【发布时间】:2016-10-10 11:14:01
【问题描述】:
我正在从 TFS 迁移到 Git 并使用 Git-tfs。我已经设法从 TFS 服务器下载了所有分支的源代码。
主分支 ($/Project/Main) 可以正常工作,但在主分支之外创建的分支 (fs) 之一没有所有签入。我确实尝试了 git-tfs pull 但没有运气。
问题分支有这个历史记录。
- c180 - 从 $/Project/A 分支
- c181 - 删除了分支
- c182 - 从 $/Project/Main 分支
分支 fs 最多只有 c180 - 从 $/Project/A 分支,之后没有任何内容。我运行的命令:
git tfs clone tfs:8080/tfs/DefaultCollection $/Project/fs
有没有办法或解决方法来拉取分支 fs 上的其余提交?
请指教?
【问题讨论】:
-
你能添加相关的命令来显示你做了什么吗?
-
git tfs clone tfs:8080/tfs/DefaultCollection $/some_project
-
@PatrickLu-MSFT 根据您发布的较早您自己的答案,您知道历史仅嵌套在 gui 中分支的变更集中,很明显他在问如何在他的 git 历史中检索它:stackoverflow.com/questions/36482439/…
标签: git tfs azure-devops git-tfs