git clone of git-svn tree?

前端 未结 6 1350
一生所求
一生所求 2020-12-13 03:05

I\'ve got a \'git-svn\' working tree. I\'d like to clone a \"pure\" git repo off this, and then use git push/pull to move changes between the git-svn tree and the git tree,

6条回答
  •  余生分开走
    2020-12-13 03:33

    One thing that may be causing you trouble is that git svn dcommit will rewrite all the commits it sends to SVN- at least if it's configured to add the SVN metadata note to the bottom of the commit messages. So you will have to adopt a flow where any repositories taking commits from your git-svn workspace rebase against it, losing all the merge history which can't be stored in SVN anyway.

提交回复
热议问题