git-svn 树的 git 克隆? [英] git clone of git-svn tree?

查看:40
本文介绍了git-svn 树的 git 克隆?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 'git-svn' 工作树.我想从这里克隆一个纯"git repo,然后使用 git push/pull 在 git-svn 树和 git 树之间移动更改,同时还使用 'git svn dcommit/rebase' 在之间移动更改git-svn 树和它基于的 SVN 存储库.

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, while also using 'git svn dcommit/rebase' to move changes between the git-svn tree and the SVN repo it's based on.

就使用 git 方法在 git 树之间来回移动事物而言,这似乎工作正常,但是一旦我与 git-svn 树中的 SVN 存储库交互,事情就会变得不稳定——要么我得到错误在 git 树之间推或拉时,或者我在 git-svn 树中丢失提交,或其他奇怪的事情.

This seems to work okay as far as moving things back and forth between the git trees using git methods, but as soon as I interact with the SVN repo in the git-svn tree, things get wonky -- either I get errors when pushing or pulling between the git trees, or I lose commits in the git-svn tree, or other oddness.

这种类型的 SVN <-> git-svn <-> git 工作流是否完全受支持,还是我应该停止吠叫这棵树?

Is this type of SVN <-> git-svn <-> git workflow supported at all or should I just quit barking up this tree?

推荐答案

根据我所见,由于 SVN 表示合并的方式,git-svn 不支持此工作流,并且不会支持.

Based on what I've seen, this workflow isn't supported with git-svn, and won't be, due to the way SVN represents merges.

这篇关于git-svn 树的 git 克隆?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆