我用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
我也有第一個問題 –