SVN 合并,然后变基
我正在尝试找到将 SVN 分支中的更改重新集成到主干和变基的正确方法。
我已经成功地将我的更改从分支合并回主干,
reintegrate merge http://mybranch into C:\code\trunk
现在我需要从主干重新创建我的开发分支。最好的方法是什么?
背景
我们基本上有一个发布主干,所有的开发都在分支中进行,直到发布的时候,所以这个过程就是将更改合并到主干,发布,rebase分支做更多的更改,重复这个过程。
I am trying to find the proper way to reintegrate the changes in my SVN branch to the trunk, and the rebase.
I have successfully merged my changes from the branch back to the trunk using,
reintegrate merge http://mybranch into C:\code\trunk
Now i need to recreate my development branch from the trunk. What is the best way to do this?
Backgound
We basically have a release trunk, and all development goes down in branches until it is time for releases, so the process is merge changes to trunk, release, rebase branch do more changes, repeat process.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需通过合并提交更改并从当前主干创建一个新分支
我想问的是:为什么需要“--reintegrate”?简单的合并还不够吗?您之前是否将更改从主干合并到分支?
Just commit the changes by the merge and create a new branch from the current trunk
What i missed to ask: Why do you need to "--reintegrate" ? Isn't a simple merge enough? Have you merged changes from trunk to branch before?