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

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

问题描述

我有一个'git-svn'工作树。我想克隆一个纯粹的git仓库,然后使用git push / pull在git-svn树和git树之间移动变化,同时也使用'git svn dcommit / rebase'在git-svn树和它基于的SVN回购。



在git树之间使用git方法来回移动东西似乎工作正常,但只要我在git-svn树中与SVN repo进行交互,事情就会变得无足轻重 - 当我在git树之间推或拉时遇到错误,或者我在git-svn树中失去了提交,或者其他奇怪点。 / p>

这种类型的SVN> git-svn> git工作流程是否全部受支持?或者我应该退出这个树形结构?

解决方案

根据我所见,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.

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.

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

解决方案

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克隆git-svn树?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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