更新已合并但未提交的 svn 分支
我有一个 svn 分支,例如 feature
,是从 trunk
创建的。我已准备好将我的 feature
分支合并到 trunk
中,因此我这样做了:
cd trunk/
svn merge <path/to/feature/branch>
执行此操作后,我还没有准备好将更改提交/推送到主干。但我想保持这个“合并但未提交”的主干工作副本更新。
因此,执行以下操作会导致任何问题:
cd trunk/
svn update
I have a svn branch, say feature
, created from trunk
. I am ready to merge my feature
branch into trunk
, so I did this:
cd trunk/
svn merge <path/to/feature/branch>
After doing this, I am not ready to commit/push the changes to trunk yet. BUT I want to keep this "merged-but-not-committed" trunk working copy updated.
So will doing the following cause any issues:
cd trunk/
svn update
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这应该回答你的问题
https:// svnbook.red-bean.com/en/1.7/svn-book.html#svn.basic.in-action.track-repos
有两种场景
在这种情况下,您的本地更改不会消失。
This should answer your query
https://svnbook.red-bean.com/en/1.7/svn-book.html#svn.basic.in-action.track-repos
There are two scenarios
this scenario your local changes will not go away.