-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--goal='rebase' is not yet supported for branches that include merges. #151
Comments
I found that I can remove merge commits by rebasing on top of their parent in parent branch. For example the commit
The Now I could probably remove the merge commit by rebasing on top of it. But it didn't work.
For some reason |
As a branch gets more complicated, it quickly becomes unclear what it even means to rebase it. It depends on what branch was merged into your branch. Should that branch also be rebased? What if it sprouts from an earlier point on your own branch? What if it sprouts from an earlier or later commit on the target branch? I've occasionally done such transformations by hand, for example redoing the sub-branch merge as a rebase, then rebasing the main branch on top of that, etc. But it's very easy to get confused and end up with nonsense. That's why I'm skeptical about the wisdom of removing this limitation, at least in the general case. |
Is there a command to get the branching structure of DAG without commits with single parent and child that don't participate in branching? |
I am trying to rebase this PR RHVoice/RHVoice#21 and the latest
git-imerge rebase
reports this status.Are there any manual workaround against this problem?
The text was updated successfully, but these errors were encountered: