[英]Determining SVN repo layout to migrate it to Git
看起來/
中列出的目錄是分支....所以,試試這個:
git init . # work on a branch new git repo
git svn init --branches=/ path-to-statmod
# the previous command assumes that the repo is the path that provided the first list that you gave us (and so --branches points to its root, so that you get 4 branches)
git svn fetch
並耐心等待。
稍微解釋一下: --branches
告訴 git svn svn repo 中的一個目錄,其中每個子目錄都是一個分支。 看起來第一個列表在項目中有 4 個分支。 您能否通過查看另一個分支的內容來確認是否是這種情況,例如new
?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.