TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Moving Changes to Feature Branches After-the-Fact in Mercurial

7 点作者 Nurdok超过 12 年前

1 comment

idank超过 12 年前
It sounds like the author isn't really interested in named branches, but rather postpone the push of his work-in-progress that's on the default branch. You don't need anything fancy for that, and certainly not rebase.<p>Mercurial has so-called anonymous branches, so all he needs to do is 'hg update' to the commit preceding his work on feature A, start work on feature B (will result in two heads on the default branch) and then push only <i>those</i> changes by specifying the -r flag to push.