我用https://stackoverflow.com/a/13710811/260865得到一个在一个git仓库中有分支的tfs仓库,它可以很好地适用于几个分支。但我没能初始化,因为所有分支:
"C:\tmp\Main>git tfs branch --init --authors=C:\tmp\authors-file.txt $/someproject/Branches/7.2.0 The name of the local branch will be : Branches/7.2.0 error: The root changeset 26907 have not be found in the Git repository. The branch containing the changeset should not have been created. Please do it before retrying!!"
git tfs branch --init --all errors
或
C:\tmp\Main>git tfs branch --init --authors=C:\tmp\authors-file.txt $/someproject/Releases/7.0.0.1 The name of the local branch will be : Releases/7.0.0.1 An unexpected error occured when trying to find the root changeset. Failed to find root changeset for $/someproject/Releases/7.0.0.1 branch in $/someproject/Main branch
(改名分支问题:https://github.com/git-tfs/git-tfs/pull/299)
TFS说7.0.0.1是主要的子分支。
环境: gittfs版本0.17.1.0(TFS客户端库11.0.0.0(MS))(32位) C:\工具\ gittfs \混帐tfs.exe
有一个人解决方案呢?
我也有一个问题simlar你的第一个错误没有解决方案 – JJS
我也有第一个问题 –