本文介绍了我如何推到git-svn回购?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用 git svn clone ...
克隆了一个svn repo,现在我想将更改推送给它。之后,我将使用此回购重新绑定所有内容,然后重新提交给svn。推销到非裸回购的问题似乎不是一个好主意,并且git svn似乎对使用裸回购商品感到不满意? 解决方案您可以随时使用中间裸回购。毕竟,推动你的工作回购并不是一个好主意。如果此选项可用,您也可以拉到它,而不是推。
I cloned an svn repo with git svn clone ...
and now I want to push changes to it. after that I will use this repo to rebase everything and commit back to svn. The problem that pushing to a non-bare repo seems to not be a good idea, and git svn seems unhappy about working with a bare one?
解决方案
You can always use an intermediate bare repo. After all, pushing to a repo with which you work is not a good idea. You can also pull to it instead of pushing if this option is available.
这篇关于我如何推到git-svn回购?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!